Click or drag to resize

FrameViewOrderBy Method (String)

Sorts the rows by the values in the given column.

Namespace:  Meta.Numerics.Data
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public FrameView OrderBy(
	string columnName
)

Parameters

columnName
Type: SystemString
The name of the column to sort by.

Return Value

Type: FrameView
A new view, with rows sorted by the values in the given column.
Exceptions
ExceptionCondition
ArgumentNullExceptioncolumnName is .
IndexOutOfRangeExceptioncolumnName is not the name of a column in the view.
InvalidCastExceptionThe type of data in the column is not IComparable.
Remarks

values are supported and are ordered before all other values.

The type of data in the column must implement IComparable.

See Also