> For the complete documentation index, see [llms.txt](https://help.adalo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.adalo.com/integrations/airtable/working-with-lists/sorting-airtable-lists.md).

# Sorting Airtable Lists

To sort a list connected to an external Airtable collection, you need to add two filters to the list

1\) With the list selected, in the left panel, make sure the list is connected to an external collection

2\) Click the Add Filter button

3\) For the Name of this first filter, enter "sort\[0]\[field]"&#x20;

4\) For the Value of this filter, type the **name of the column** in Airtable (not magic text) you want to sort by.  Note: If your column name has any spaces or special characters, you don't need to do anything special to encode them.  Adalo will take care of this automatically for you.

![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhGHkPsv15svPIU5I7C%2F-M2jW7t5yT0_Utvt_077%2F-M2jYAvlxez2vJrBget4%2FScreenshot%202020-03-18%20at%204.28.41%20PM.png?alt=media\&token=6418465c-366b-4aba-8644-684bfd6db991)

5\) Click the Done button to collapse the first filter, and then click the Add Filter button to add the second filter.

6\) For the Name of this second filter, enter "sort\[0]\[direction]"

7\) For the Value of this filter, enter either "asc" or "desc" depending on whether you want to sort ascending (ie smallest to largest / alphabetical) or descending (ie largest to smallest / reverse-alphabetical)

![](https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhGHkPsv15svPIU5I7C%2F-M2jW7t5yT0_Utvt_077%2F-M2jYdwYiDtMyEheYtSS%2FScreenshot%202020-03-18%20at%204.30.38%20PM.png?alt=media\&token=30f9fe7c-dbd8-4025-a39c-484769fa0cf9)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.adalo.com/integrations/airtable/working-with-lists/sorting-airtable-lists.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
