FrameViewOrderBy Method (String, SortOrder) |
Sort the rows by the values in the given column in the given direction.
Namespace:
Meta.Numerics.Data
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public FrameView OrderBy(
string columnName,
SortOrder order
)
Public Function OrderBy (
columnName As String,
order As SortOrder
) As FrameView
public:
FrameView^ OrderBy(
String^ columnName,
SortOrder order
)
member OrderBy :
columnName : string *
order : SortOrder -> FrameView
Parameters
- columnName
- Type: SystemString
The name of the column to sort by. - order
- Type: Meta.Numerics.DataSortOrder
The direction of the ordering.
Return Value
Type:
FrameViewA new view, with rows sorted by the values in the given column.
Exceptions Remarks values are supported and are ordered before all other values.
The type of data in the column must implement IComparable.
See Also