listview SortColumn property
Return to Introduction  Previous page  Next page
Applies to
acListView and acDBListView components.  

Declaration
property SortColumn: Word;  

Description
The SortColumn property determines and specifies the column number which should be sorted. When SortColumn = 0, first column will be sorted, SortColumn = 1 will sort second column and so forth..  
 
To specify the sorting direction — use SortDirection property.  

See also
SortDirection and ShowSortMark properties.