powered by
sortrows(A, k = 1)
sortrows(A, k)
A
k
sort
A <- magic(5) sortrows(A) sortrows(A, k = 2)
Run the code above in your browser using DataLab