Type | Description | |||
SortOrderEnum | A SortOrderEnum expression that indicates the column's sort order. |
Using the SortOrder property of the Column object. The SortOrder property displays the sorting icon in the column's header if the DisplaySortIcon property is True.
List1.Columns(ColIndex).SortOrder = SortAscending
Using the Sort method of Items object. The following sample sort descending the list of root items on the "Column 2"
List1.Items.Sort "Column 2", False