Doctrine\OrientDB\Query\Command\SelectInterface::orderBy PHP Method

orderBy() public method

The $order should contain the property and the ASC/DESC parameter, in a single string: name DESC. With $append you can decide not to override previously-set orders. You can decide wheter to put the $order at $first place among the set orders.
public orderBy ( string $order, boolean $append, boolean $first ) : Select
$order string
$append boolean
$first boolean
return Select
    public function orderBy($order, $append, $first);