I have a matrix with two columns of the following form:
1 349 1 393 1 392 4 459 3 49 3 32 2 94
I would like to sort this matrix in increasi
If your data is in a matrix named foo, the line you would run is
foo
foo.sorted=foo[order[foo[,1]]