#Customizing Sorting Order in the List View

**Question:** I want records in my Item List sorted based on Desc Order of Item Code.

**Answers:** Following are the steps to customize Sort Order for the Item master. These steps will be applicable for customizing Sort Order for the other documents as well.

####Step 1: Go to Customize Form

`Setup > Customize > Customize Form`

####Step 2: Select Doctype

Select document type for which Sort Order is to be customized.

<img alt="Sort Order field" class="screenshot" src="{{docs_base_url}}/assets/img/articles/sort-order-2.png">

####Step 3: Update Sort Details

In the Customize Form, you will find these fields.

<img alt="Sort Order field" class="screenshot" src="{{docs_base_url}}/assets/img/articles/sort-order-1.png">

1. Sort Field: Select field based on which sorting will be done. It will be "Item_Code" field in scenario.
2. Sort Order: Sort Order will be two possible options, **Asc** for ascending, and **Desc** for descending.

<!-- markdown -->