# query.Query.order_by { #soildb.query.Query.order_by }

```python
query.Query.order_by(column, direction='ASC')
```

Set the ORDER BY clause.

Args:
    column: Column name to order by.
    direction: Sort direction ("ASC" or "DESC").

Returns:
    Query: This Query instance for method chaining.