Sort Method

Sort rows by one or two columns.

Syntax

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

Parameters

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

None