Sorting records
Learn how to sort records in NocoDB.

Sorting enables you to arrange your data alphabetically (A → Z) or (Z → A) for text based types and in ascending or descending order for numerical types. NocoDB supports nested sorting, allowing you to select fields and the order in which to apply nested sorting.
Add or edit sort
- Click the
Sortbutton in the toolbar menu. - Choose the
Fieldto sort by. - Configure the sorting
Direction: ascending or descending - Use
+ Add Sort Optionto add additional fields for sorting.

Enable or disable a sort condition ☁
Each sort condition row has a checkbox to switch that condition on or off without deleting it. Disable a condition to temporarily remove it from the sort, then re-enable it later to restore the same configuration. In the example below, the Country sort is disabled while Segment and Product remain active.

Reorder sort conditions ☁
Each sort condition row has a drag handle (the dotted icon shown next to each row above). Drag a row up or down to change the priority of your sort conditions, where the topmost condition is applied as the primary sort.
Delete sort
- Click the
Sortbutton in the toolbar. - Click on the trash / bin icon to the right of the sort you wish to delete.
