ILNumerics - Technical Application Development
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Sorted array of the same size/shape as A
Sort strings in A along dimension 'dim'
[ILNumerics Computing Engine]
Namespace: ILNumerics
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
Parameters
- A
- Type: ILNumericsInArrayString
Input array. A may be an empty, scalar, vector or matrix. - dim
- Type: SystemInt32
Dimension to sort along - descending
- Type: SystemBoolean
Specifies the direction of sorting: true: descending sort direction; false: ascending
Return Value
Type: RetArrayStringSorted array of the same size/shape as A
Remarks
The strings in A will be sorted lexicographically in ascending order using the bucket sort algorithm. Data along the first non singleton dimension will get sorted independently from data in the other rows/columns.
The sorting order of strings is determined char-wise by comparing the ASCII codes of the characters.
[ILNumerics Computing Engine]
See Also