# 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="https://3974937538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7EjUsysKr4AEohIaumYn%2Fuploads%2FpgGVsqIlxMk19zoo8O5T%2Fimage.png?alt=media&#x26;token=a3917c08-5bf7-418a-a96a-48c1d313ec67" 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="https://3974937538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7EjUsysKr4AEohIaumYn%2Fuploads%2FegTXmzM9HPFARpfALVik%2Fimage.png?alt=media&#x26;token=810f5855-531d-4db2-aac7-6b1b06ec0b08" 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="https://3974937538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7EjUsysKr4AEohIaumYn%2Fuploads%2FuWxHbUtrYuutFPafxBfc%2Fimage.png?alt=media&#x26;token=65612429-2fc9-4b41-9c02-6dc184a84267" 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 %}
