I have the below code
List<List1<String, String>> list1_a = Readafile(filename);
the data in the file is as follows
value 1    value 2        rank
      a    b              1
      a    c              2
      d    e              1
      d    c              4
I need to sort the list1_a according to the rank
i tried the below:
Collections.sort(list1_a), but im no teven able to understand the error it is throwing me.
Update:
below is the error description:
Bound mismatch: The generic method sort(List<T>) of type Collections is not applicable for the arguments (List<List1<String,String>>). The 
 inferred type List1<String,String> is not a valid substitute for the bounded parameter <T extends Comparable<? super T>>