# Sort

{% tabs %}
{% tab title="Sort by ascending" %}
Sort any fields in the report in ascending order from smallest to largest or alphabetically from A to Z.\
\
**For Example**: Sort the report by Product title. The report will sort the data in alphabetical order starting at A.

You also have the option to limit the number of rows to be shown to **Top 10**, **Top 25**, **Top 50,** or **Top 100**.&#x20;

You can also view all the rows on the same page by selecting the **'All'** option, as shown below:<br>

<figure><img src="/files/LxwStyxCNI9AojFnGsEm" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Sort by descending" %}
Sort any fields in the report in descending order from the largest to the smallest or reverse alphabetical order from Z to A.

**For Example**: Sort the report by Product title. The report will sort the data starting at Z.

You also have the option to limit the number of rows to be shown to Top 10, Top 25, Top 50, or Top 100.&#x20;

You can also choose to see all the rows on the same page, as shown below.

<figure><img src="/files/SpEYPHqvKCFbfRgF0bcp" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Multi-Sort" %}
Sort multiple fields in the report in ascending or descending order. \
\
**For example**: Sort the report by Product title in ascending order and Net quantity in descending order.

You also have the option to limit the number of rows to be shown to Top 10, Top 25, Top 50, or Top 100.&#x20;

You can also choose to see all the rows on the same page, as shown below.

<figure><img src="/files/RGVWpZsMnOFUP9hx662e" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Show" %}
You also have the option to limit the number of rows to be shown to Top 10, Top 25, Top 50, or Top 100.&#x20;

You can also choose to see all the rows on the same page, as shown below.

<figure><img src="/files/TdbavQVfNSZwxCYllL4E" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}


---

# Agent Instructions: 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:

```
GET https://docs.dataexport.io/kb/reports/sort.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
