sort 2d float array
in
Programming Questions
•
2 years ago
Is it possible to sort this? (on the second value)
-
float[][] test = new float[5][2];
void setup() {test[0][0] = 5;test[0][1] = 6;test[1][0] = 3;test[1][1] = 3;test[2][0] = 4;test[2][1] = 5;test[3][0] = 2;test[3][1] = 8;test[4][0] = 1;test[4][1] = 1;}
Or must i use a hashMap / arrayList with classes?
1