Click or drag to resize

Sorting Methods

The Sorting type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreateIdentityIndices 
Public methodStatic memberHeapSortVirtuallyT(IListT) Sorts the elements, but maintains the original order in the provided array. Instead, an array of indices is created. The elements are sorted in the sense that elementsToSort[indexArray[i]] is sorted afterwards. The standard comparer of the elements is used for comparison.
Public methodStatic memberHeapSortVirtuallyT(IListT, Int32) Sorts the elements, but maintains the original order in the provided array. Instead, an array of indices is created. The elements are sorted in the sense that elementsToSort[indexArray[i]] is sorted afterwards. The standard comparer of the elements is used for comparison.
Public methodStatic memberReverseArray 
Public Extension MethodSortDataColumnsByPropertyColumn(DataTable, DataColumn, Boolean) Sort the order of the data columns (not rows!) of a table based on a specified property column. The relationship of property data to data columns is maintained.
Public Extension MethodSortDataColumnsByPropertyColumn(DataTable, IAscendingIntegerCollection, DataColumn, Boolean) Sort the order of the data columns (not rows!) of a table based on a specified property column. The relationship of property data to data columns is maintained.
Public Extension MethodSortDataRows(DataTable, DataColumn, Boolean) Sorts the data rows of a table (more accurate: of all columns belonging to a column group, see below), using the data of column col to determine the order.
Public Extension MethodSortDataRows(DataTable, DataColumn, Boolean) Sorts the data rows of a table (more accurate: of all columns belonging to a column group, see below), using multiple specified column.
Public Extension MethodSortRows(DataColumnCollection, DataColumn, Boolean) Sorts the data rows of a DataColumnCollection (more accurate: of all columns belonging to a column group, see below), using a specified column.
Public Extension MethodSortRows(DataColumnCollection, DataColumn, Boolean) Sorts the data rows of a DataColumnCollection (more accurate: of all columns belonging to a column group, see below), using a specified column.
Top
See Also