powered by
Take a matrix, then sorted the colums by increasing values of 1st, 2nd, 3rd,.. n lines of matrix.
sort_matrix(mat)
a numeric matrix
A vector of indices for properly sort the columns of matrix
None.