Skip to main content

GridControl.SortBy Method

Name Parameters Description
SortBy(GridColumn) column Sorts data against the specified column.
SortBy(GridColumn, ColumnSortOrder) column, sortedOrder Sorts data against the specified column and arranges it according to the sort order.
SortBy(GridColumn, ColumnSortOrder, Int32) column, sortedOrder, sortedIndex Sorts data against the specified column and arranges it according to the sort order. The position of the sort condition within the GridSortInfoCollection depends on the sortedIndex parameter.