> For the complete documentation index, see [llms.txt](https://docs.advertisingbeast.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.advertisingbeast.com/managing-advertising-accounts/modules/cross-module-components/data-tables/controllers-bar/sorting-controller.md).

# Sorting controller

The sorting controller offers a way to organize the data by alphabetical or numeral order.

### Features and functionality

{% hint style="info" %}
Sorting controllers are available for both dimensions and metrics, although some restrictions may apply.
{% endhint %}

#### Versatility

The sorting controller works with a wide range of data types, from text to numbers.

#### Intelligent sorting

The controller automatically recognizes the data type in each column, ensuring appropriate sorting (alphabetical for text, numerical for figures).

#### Consistency

The sorting controller maintains a uniform sorting method across different tables for a cohesive user experience.

***

### Using the controller

To activate the sorting controller, click on the 'sort' (up/down arrows) icon of the column you wish to sort.

<div align="left"><figure><img src="/files/LdGY8ivjNwVT1CMwx5Cn" alt=""><figcaption></figcaption></figure></div>

#### Ascending order

To organize data in ascending order (A-Z or lowest-to-highest), click the sorting controller once.

<div align="left"><figure><img src="/files/cAbO5abmuOwoJXodJlbc" alt=""><figcaption></figcaption></figure></div>

#### Descending order

To organize data in descending order (Z-A or highest-to-lowest), click again on the controller in the ascending order state.

<div align="left"><figure><img src="/files/7arpfGEE0GDH4bFgAuLH" alt=""><figcaption></figcaption></figure></div>

#### Reset order

To reset sorting, click on the controller again while it is in the descending order state.

{% hint style="info" %}
Only one column can be sorted at a time. Clicking on a different column from the one currently sorted will initiate a new sorting operation.
{% endhint %}
