> For the complete documentation index, see [llms.txt](https://docs.theconfigteam.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.theconfigteam.com/prebilt-for-im-wm-strm/app-master-data/screen-configuration/sort-configuration.md).

# Sort configuration

{% embed url="<https://www.youtube.com/watch?index=18&list=PL74nuGSklShnLgW4UxtzhL9a1rK5DXrdp&v=XA4DwT3jTHw>" %}

The sequence that the items in a list screen will be sorted can be controlled by entering a suitable sequence of fields, which can be sorted in either ascending or descending order.

{% hint style="info" %}
**Note**

Only one structure is available, as standard, for sorting per screen. This is known as the ‘primary’ structure. However, with enhancement, is it possible to add other structures.

To view the structures for a transaction, go to transaction */TCTM/WM\_AMD\_DTYPES* and enter the transaction code to view. In the report, you can see the transaction, field in the AMD, a prefix, the structure available and the app number.

A structure without a prefix is the primary structure.&#x20;
{% endhint %}

The below screen shows a WM stock enquiry list, to be sorted by bin (ascending), material (ascending), storage type (ascending) and quantity (descending).

<figure><img src="https://3149936122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CkvzIq48sLzTY4bfcWl%2Fuploads%2FimT6LDC8cjic9YTRfV6s%2Fimage.png?alt=media&amp;token=adadfc85-ccb8-4758-bb7d-9de219e5dacd" alt=""><figcaption></figcaption></figure>
