Sorting Records

Sorting records

Sorting arranges your data in order:

Field typeSort order
Text based typesAlphabetical, (A → Z) or (Z → A)
Numerical typesAscending or descending

NocoDB supports nested sorting. You select the fields and the order in which NocoDB applies them.

Ask NocoAI

Copy a prompt, paste it into NocoAI in any base, and replace the words in [brackets] with your own.

  • Sort this view by [Due Date], earliest first
  • Sort this view by [Priority], then by [Created] with the newest first
  • Remove all sorts from this view

Add or edit sort

  1. In the toolbar menu, click Sort.
  2. Select the Field to sort by.
  3. Set the sort Direction: ascending or descending.
  4. To sort by more fields, use + Add Sort Option.

Sort Field

The field listed at the top is used for primary sorting, followed by other fields in top-down order for secondary and tertiary sorting.

Enable or disable a sort condition ☁

This feature is available on NocoDB Cloud and licensed self-hosted deployments.

Each sort condition row has a checkbox. Use it to turn the condition off or on without deleting it. Disable a condition to remove it from the sort for a time. Enable it again later to restore the same configuration. In the example below, the Country sort is disabled, and Segment and Product stay active.

Toggle and reorder sort conditions

Reorder sort conditions ☁

This feature is available on NocoDB Cloud and licensed self-hosted deployments.

Each sort condition row has a drag handle (the dotted icon next to each row in the image above). Drag a row up or down to change the priority of your sort conditions. NocoDB applies the topmost condition as the primary sort.

Delete sort

  1. In the toolbar, click Sort.
  2. Click the trash / bin icon to the right of the sort to delete.

Delete Sorting

Last updated on

Latest product updates?See Changelog
Stay in the loop? Follow us onLinkedInLinkedInYouTubeYouTubeXX