New to Telerik UI for WinForms? Download free 30-day trial

Sorting

Sorting in RadListControl is controlled by the SortStyle property. The available sorting options are listed below:

  • Ascending: indicates ascending sorting.

  • Descending: indicates descending sorting.

  • None: indicates no sorting. Items appear in the order of inserting.

Figure 1: SortStyle.Descending

WinForms RadListControl SortStyleDescending

Setting Sorting

radListControl1.SortStyle = Telerik.WinControls.Enumerations.SortStyle.Ascending;

radListControl1.SortStyle = Telerik.WinControls.Enumerations.SortStyle.Ascending

Changing the SortStyle property may cause the SelectedIndexChanged event to fire if the position of the currently selected item has changed after the sort operation.

In this article