---
updatedAt: 2025-06-17T12:30:17.000Z
agentTools:
  projectIndex: https://stockpit.readme.io/llms.txt
---

# Ordering

## Ordering the results

You might want to sort you result in a specific order. To do that, you need to use the `orderBy` argument:

```graphql
{
  Customers(
    orderBy: [
        { 
            column: LABEL, 
            order: ASC, 
        },
        { 
            column: ID, 
            order: DESC, 
        },
    ]
  ) {
    data {
      id
      label
    }
  }
}
```

Each entities has its own columns you can filter on. You will find those column in each entities documentations.