property Column.DefaultSortOrder as Boolean

Specifies whether the default sort order is ascending or descending.

TypeDescription
Boolean A boolean expression that specifies whether the default sort order is ascending or descending. True means ascending, False means descending.

By default, the DefaultSortOrder property is False. Use the SortOnClick property to specify the operation that control should execute when the user clicks the column's header. Use the DefaultSortOrder to specify how the column is sorted at the first click on its header. Use the SortOrder property to sort a column. Use the SingleSort property to allow sorting by multiple columns.