$query->order()
Attaches an order clause
$query->order(string|null $order = null): Kirby\Database\Query
Parameters
| Name | Type | Default |
|---|---|---|
| $order | stringornull |
null
|
Return type
This method modifies the existing $query object it is applied to and returns it again.