Skip to main content
A newer version of this page is available. .

DataControlBase.SortBy Method

Name Parameters Description
SortBy(ColumnBase) column Sorts data by the values of the specified column.
SortBy(ColumnBase, ColumnSortOrder) column, sortedOrder Sorts data by the values of the specified column in the specified order.
SortBy(ColumnBase, 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.
SortBy(String) fieldName Sorts data by the values of the specified column.
SortBy(String, ColumnSortOrder) fieldName, sortedOrder Sorts data by the values of the specified column in the specified order.