Control Object Properties
Sort Column sorting
   
Description Sort the contents of the control.

In Listviews and GRID , this property sets the number of the column which the data is to be sorted on. Positive integers indicate normal ascending sort order, negative integers indicate descending order.

When using the Grid sort on Numeric data, the currency sign, thousands separator, and decimal point are ignored. The values used to represent these character is established when the grid is first created.

In Treeviews , sorting values indicate the following:

   1 = Automatically sort data in ascending order;
   0 = Reset sort indicators;

  -1 = Causes the current 'Item to be sorted;
  -2 = Causes the current '
Item and its descendants to be sorted.

   
Default  0 for the Listview and Grid
 1 for the Treeview.
   
Used by LISTVIEW TREEVIEW GRID