:: Documentation >> Reference >>

sort Method

Sorts the rows with the data in the given column.

Syntax

obj.sort(index, direction);

Parameters

indexNumberColumn index to sort on.
directionStringSort direction ("ascending" or "descending").

Applies To

Active.Controls.Grid