GridControl.SortBy Method

Name Parameters Description
SortBy(GridColumnBase) column

Sorts data by the values of the specified column.

SortBy(GridColumnBase, ColumnSortOrder) column, sortedOrder

Sorts data by the values of the specified column in the specified order.

SortBy(GridColumnBase, ColumnSortOrder, Int32) column, sortedOrder, sortedIndex

Sorts data by the values of the specified column in the specified order, and places the column at the specified position among the sorted columns.