ILNumerics Ultimate VS

ILMathsort Method (InArrayString)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Sort strings in A along first non singleton dimension, ascending order.

[ILNumerics Computing Engine]

Namespace:  ILNumerics
Assembly:  ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public static RetArray<string> sort(
	InArray<string> A
)

Parameters

A
Type: ILNumericsInArrayString
Input array. A may be an empty, scalar, vector or matrix.

Return Value

Type: RetArrayString
Sorted 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

Reference