> For the complete documentation index, see [llms.txt](https://docs.inforiver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inforiver.com/editable/working-with-editable/explore-data/sort-and-reorder.md).

# Sort and reorder

EDITable provides standard sorting options to sort the records: ascending/descending as well as A -> Z / Z -> A for numeric and non-numeric columns such as date, numbers, dropdown, text, and more.&#x20;

## 1. Sort records <a href="#id-1.-sorting" id="id-1.-sorting"></a>

1. Hover over the column header you want to sort, then click on the three-dot menu.

<figure><img src="/files/s29j7B7A5X3NTVPt9P7R" alt=""><figcaption><p>Sorting by values</p></figcaption></figure>

2. Select **Sort.** Then, choose **Sort Desc** or **Sort Asc** to sort the records in descending or ascending order respectively. Let's now sort the 'Salary' column in descending order.

<figure><img src="/files/n9NcJ9qVyDWdxdKvdmra" alt=""><figcaption><p>Sorting by descending order</p></figcaption></figure>

3. A downward arrow in the image below indicates that the 'Salary' column is sorted in the descending order.

<figure><img src="/files/SpUrun5xewFhpzNrHATf" alt=""><figcaption><p>Column sorted in descending order</p></figcaption></figure>

4. To remove the sort, click on **Remove Sort** as shown. Alternatively, you can click on the sort icon in the column header to remove the sort.

<figure><img src="/files/42GGp1lBIFwuG6OJ7BJu" alt=""><figcaption><p>Removing sort</p></figcaption></figure>

5. Similarly, sorting can also be applied to non-numeric columns. The image below shows the 'Last Name' column sorted in ascending order.

<figure><img src="/files/3FjqWCGKuajw2hzWbkDD" alt=""><figcaption><p>Sorting non-numeric columns</p></figcaption></figure>

## 2. Reorder columns

You can reorder columns by dragging and dropping the headers to arrange them the way you want.

<figure><img src="/files/Xe6xUoOvdRZEB3zEOQ0z" alt=""><figcaption><p>Re-order columns</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.inforiver.com/editable/working-with-editable/explore-data/sort-and-reorder.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
