# Sort Values

## Sort Values in Decision Table

To access sorting, click on the <img src="https://437457296-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MN4F4-qybg8XDATvios%2Fuploads%2Fxp4e0Cmiyp8dMDgpoLSS%2Fimage.png?alt=media&#x26;token=18a91502-3ff8-4876-a81d-5344f2084b19" alt="" data-size="line"> icon in the header of a column, then click on **Sort by A -> Z** for ascending order or **Sort by Z -> A** for descending order.

<figure><img src="https://437457296-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MN4F4-qybg8XDATvios%2Fuploads%2FY7fNuP4h1joAwmamlnlm%2Fimage.png?alt=media&#x26;token=680104d6-204d-47a2-891a-003ff0bb2127" alt=""><figcaption></figcaption></figure>

### Sorting conditions

Ascending sorting is governed by:

1. numbers (0-9)
2. text (aA-zZ)
3. numbers fields (e.g. BETWEEN)
4. dates
5. date fields (e.q. BETWEEN)
6. functions
7. value "anything"

<figure><img src="https://437457296-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MN4F4-qybg8XDATvios%2Fuploads%2FVYuR9mTlwC1eSUoxTf8p%2Fimage.png?alt=media&#x26;token=aafef857-ce5c-4d66-9aff-817f2ae41288" alt=""><figcaption></figcaption></figure>

Descending sorting is governed:

1. text (Zz-Aa)
2. numbers(9-0)
3. numbers fields (e.g. BETWEEN)
4. dates
5. date fields (e.q. BETWEEN)
6. functions
7. value "anything"

<figure><img src="https://437457296-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MN4F4-qybg8XDATvios%2Fuploads%2FSAz1Mk7HKfIT4ekcwFEV%2Fimage.png?alt=media&#x26;token=88e0534c-54d1-4480-b32e-9d5c54fdaf5f" alt=""><figcaption></figcaption></figure>
