klyn.math.NDArray.sort
method
public sort(axis as Int) as NDArray<T>:
Description

Sorts the NDArray along one axis, in place.

a = NDArray<Int>.fromList([[3, 2], [1, 4]])
a.sort(axis=0)