So I\'m working on a comparator problem and I can\'t figure out why the Array.sort in this first class is giving me the error of:
Array.sort
The method
An ArrayList is different from a Java array; since you're using a List, Arrays.sort won't help you here.
ArrayList
Arrays.sort
Consider Collections.sort instead.