# Order Object

By default, Alerts API provides output sorted by `publishedAt` field in descending order (most recently published Alerts first).

### AlertOrderBy

| Field       | Type                              | Description                                 |
| ----------- | --------------------------------- | ------------------------------------------- |
| publishedAt | [AlertSortOrder](#alertsortorder) | Allows specifying the desired sorting order |

### AlertSortOrder

This is a GraphQL enum, specifying allowed sorting orders

```graphql
enum AlertSortOrder {
  """
  Specifies descending sort order.
  """
  DESC

  """
  Specifies ascending sort order.
  """
  ASC
}
```
