ShellBrowser Delphi Components Documentation
|
Sorts the current view by the passed attribute in the passed order.
procedure Sort(const pColumn: TShellColumnId; const pSortDirection: TJamSortDirection); overload;
Parameters |
Description |
const pColumn: TShellColumnId |
A column to sort by. The column need not be visible in the current view. |
const pSortDirection: TJamSortDirection |
The sort direction to apply. |
Exceptions |
Description |
If the given column is not supported in the current view. |
The following example sorts a TJamShellList by the Artist column:
ShellList.Sort(TShellColumns.Music_Artist, TJamSortDirection.sdAscending);