My question is similar to this one except instead of sorting by the first column, I'd like to be able to sort via the 2nd column.
double[][] myArr = new double[mySize][2];
The contents of the array would be:
1 5
13 1.55
12 100.6
12.1 .85
And what it should be after is:
12.1 .85
13 1.55
1 5
12 100.6
How would one go about doing that?