public sort(axis as Int) as NDArray<T>:
Sorts the NDArray along one axis, in place.
a = NDArray<Int>.fromList([[3, 2], [1, 4]]) a.sort(axis=0)