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