Sorting
To tell the treeview to use the column's content in the nodes sorting process, enable the Sortable column property.
Sort order#
If you want to change the column's sort order, use the SortOrder column property. The column supports three sort orders, ascending, descending, none, but you can limit it to use only two sort orders, ascending, descending, by disabling the ThreeStateSortOrder property (enabled by default).
If you don't want to allow users to change the column sort order at runtime, disable the Clickable column property.
Events#
When the column sort order has changed, the treeview raises the ColumnSortOrderChanging and ColumnSortOrderChanged events, before and after changes, respectively.
Sort order indicator#
You can control whether to show a sort order mark on the column header by using the Options.Column.ShowSortArrow treeview property.