Sort Method

Sort rows by one or two columns.


Public Sub Sort(ByVal Column As Integer, Optional ByVal Order As SortOrder = SortOrder.Auto, Optional ByVal SubColumn As Integer = -1, Optional ByVal SubOrder As SortOrder = SortOrder.Auto)

Applies To

Grid Object


The following parameters are available:

Parameter Description
Column The main sort column.
Order The main sort order.
SubColumn The sub sort column.
SubOrder The sub sort order.

Return Type