> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SupportTicketSortKey

> What to sort tickets by. Each key sorts the newest or highest first, and tickets with no value for it come last, even with `reverse`.

| Value | Description |
| - | - |
| `CLOSED_AT` | When the ticket was closed. Open tickets have none. |
| `CREATED_AT` | When the ticket was created. |
| `LAST_CUSTOMER_MESSAGE_AT` | When the customer last wrote. |
| `LAST_MERCHANT_MESSAGE_AT` | When the team, the AI agent or an automation last wrote. |
| `LAST_RESPONSE_AT` | When the customer or the team last wrote. |
| `PRIORITY` | Urgent tickets first. The others have no priority, so `reverse` keeps this order. |
| `TICKET_NUMBER` | The ticket number the help desk shows. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.