# Sorting

You can sort the data in any Arcwise connected data tab. You can sort on several columns, where earlier columns take precedence in the ordering. To sort data navigate to the Arcwise connected data interface [Arcwise Connected Data](/using-arcwise-in-sheets/arcwise-connected-data.md).

1\) Click on the plus button in the **Sort** section.

<figure><img src="/files/X1CmwujCK6Ck03jr4hq2" alt="" width="375"><figcaption></figcaption></figure>

2\) Select the column you would like to sort on. If you would like to sort on multiple columns click the **Add sort column**. You can add as many columns as you like here though performance will decrease with many sorts on large data sets (>100,000 rows).

<figure><img src="/files/h8m0vFa0z7kqwpHYAEOt" alt="" width="375"><figcaption></figcaption></figure>

3\) Click the green **Update query** button in the bottom left corner to apply your sorting.


---

# 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.arcwise.app/using-arcwise-in-sheets/arcwise-connected-data/sorting.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.
