
| Type | Description | |||
| SortOrderEnum | A SortOrderEnum expression that indicates the column's sort order. |
The control automatically sorts a column when the user clicks the column's header, if the SortOnClick property is exDefaultSort. If the SortOnClick property is exNoSort, the control disables sorting the items when the user clicks the column's header.
There are two methods to get the items sorted like follows:
ComboBox1.Columns("Column 1").SortOrder = SortAscending
The SortOrder property adds the sorting icon to the column's header, if the DisplaySortIcon property is True.
ComboBox1.Items.SortChildren 0, "Column 1", False