# Sort

## Overview

The Sort Node allows you to sort your dataset based on one or more columns, with a specified sorting direction for each column.

## **Settings**

#### **Sort table by**

Choose which columns you want to sort by. Press the “**+Then sort by**” link to add more columns to sort.

**Sorting Direction**

The available options are:

1. **Ascending**: Sort the column in ascending order, from the smallest to the largest value.
2. **Descending**: Sort the column in descending order, from the largest to the smallest value.


---

# 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.tomat.ai/data-transformation/transforms/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.
