--- title: 'Sorting records' --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; 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. ### Adding or Editing Sort - Click the `Sort` button in the toolbar menu. - Choose the `Field` to sort by. ![Sort Field](https://github.com/nocodb/nocodb/assets/86527202/5665b5db-7d66-4d17-8307-4a8bf32360c8) - Configure the sorting `direction`. ![Sort Direction](https://github.com/nocodb/nocodb/assets/86527202/56a6d29b-de43-4aaf-b77e-41f32bb58f93) - You can configure multiple fields for subsequent-level sorting. ![Nested Sorting](https://github.com/nocodb/nocodb/assets/86527202/4e9393d7-953c-4a3f-bb4e-3b0161042ae4) :::info Field configured at the top will be used for the first-level sorting, followed by subsequent fields in a top-down order ::: ### Deleting Sort - Click the `Sort` button in the toolbar. - Click on the bin icon to the right of the sort you wish to delete. ![Delete Sorting](https://github.com/nocodb/nocodb/assets/86527202/d469110b-12b2-4b8a-83ee-fe8819da2dc1) ### Related topics - [Field operations](field-operations) - [Filter](filter) - [GroupBy](group-by) - [Row height](row-height) - [Quick Search](search) - [Download](download)