I want to sort the array based on the values of [][0].
double[][] myArr = new double[mySize][2];
Let’s say, below is the content of myArr :
1 5
13 1.55
12 100.6
12.1 .85
I want to sort it like below:
1 5
12 100.6
12.1 .85
13 1.55
Can anyone tell me how to do it?