Arrays.sort() works on abstract data types that implement this interface