I have an array with the following syntax:
ArrayList<String[]> outerArr = new ArrayList<String[]>();
String[] str = {art1, art2, String.valueOf(sim)};
outerArr.add(str);
After certain loops and changes, I get something like:
name1 name2 0.11
name1 name3 0.14
name2 name4 0.12
I need to sort them by the third column. How is it possible to implement?