Comparable | Android Developers
Class Overview This interface should be implemented by all classes that wish to define a natural order of their instances. sort(List) and java.util.Arrays#sort can then be used to automatically sort lists of classes that implement this interface. The orde...