Bluz\Db\Query\Traits\Order::orderBy
Specifies an ordering for the query results Replaces any previously specified orderings, if any
Signature
public function orderBy(string
$sort,
[string
$order = 'ASC'] )
Parameters
$sort
— string- Sort expression
$order
— string- Sort direction (ASC or DESC)
Returns
- $this