> ## Documentation Index
> Fetch the complete documentation index at: https://coconut-grid.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Sorting

Sort records in the data grid by one or more columns.

## Sorting

Sort records directly from the column header or column menu.

### Sort from Column Header

Click a column header to toggle the sort order.

* DESC → ASC → DESC … (cycles)

### Sort from Column Menu

Open the column menu and choose one of the following.

* **Sort by ASC**
* **Sort by DESC**

### Clear Sorting

Remove sorting from a column.

* Open the column menu and click **Unsort**

## Multi-Column Sorting

Apply sorting to multiple columns at the same time.

* Hold `Ctrl` or `Shift` while clicking column headers (use `Command` or `Shift` on macOS)
* Sorting is applied in the order you select columns (first, second, etc.)
* To change priority, clear the sort and apply again in the desired order

> [!NOTE]
>
> Sorting is unavailable for formula columns.


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