Javadoc
Sort (shuffle) the rows of a 2d array according to the value at a specified column.
Other than the order of the rows, each row is unmodified. Copy operation: original
INDArray is unmodified
So if sorting the following on values of column 2 (ascending):
[a b 2]
[c d 0]
[e f -3]
Then output is
[e f -3]
[c d 0]
[a b 2]