Sorts the rows in this data frame according to the given ordered array of column indices. Sort order is determined by the matching array of sorting types (ascending or descending).

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public DataFrame SortRows(
	int[] colIndices,
	SortingType[] sortingTypes
)
Visual Basic (Declaration)
Public Function SortRows ( _
	colIndices As Integer(), _
	sortingTypes As SortingType() _
) As DataFrame
Visual C++
public:
DataFrame^ SortRows(
	array<int>^ colIndices, 
	array<SortingType>^ sortingTypes
)

Parameters

colIndices
Type: array< System..::.Int32 >[]()[]
An ordered array of column indices.
sortingTypes
Type: array< CenterSpace.NMath.Stats..::.SortingType >[]()[]
An ordered array of sorting types.

Return Value

A reference to self.

See Also