1ArrayList<ArrayList<String>> yourList = ...
2Collections.sort(yourList, new Comparator<ArrayList<String>>() {
3 @Override
4 public int compare(ArrayList<String> one, ArrayList<String> two) {
5 return one.get(1).compareTo(two.get(1));
6 }
7});
8
1arrayListObject = (ArrayList<String>) arrayListObject
2 .stream()
3 .sorted()
4 .collect(Collectors.toList());
5In