Method Sort
Sort(FileListBoxColumn, ColumnSortDirection)
Sorts the items in the file list based on the specified column and sort direction.
public virtual void Sort(FileListBoxColumn column, ColumnSortDirection direction = ColumnSortDirection.Ascending)
Parameters
columnFileListBoxColumnThe column to sort by. This determines the criteria used for sorting.
directionColumnSortDirectionThe direction in which to sort the items. The default is Ascending. If Flip is specified, the current sort direction for the column is toggled.
Remarks
If the specified column does not support sorting,
the method will return without
performing any operation. The sort direction for the column is updated based
on the provided direction.