# 06/11/2024 - Order of Orders Query

## :left\_right\_arrow: Order Query Ordering

You can now order the `Orders` graphql query by `asc` or `desc` (default) using the `sort_direction` argument. This allows you to retrieve the oldest orders first if required.&#x20;

&#x20;`query{ Orders( ..., sort_direction:"asc" ){ data{ id, created_at } total, per_page } }`&#x20;

:woman\_technologist: Jules
