I have an assignment that's asking me to create a method which "Implements the compareTo method provided by the Comparable interface. Allows two objects to be compared based on sortKey(sortKey is just an int value 1,2,or 3)." What exactly is this asking me to do? Am I supposed to use "implements Comparable" in the class? If so, what functionality does this implemented method provide for me to help me sort objects such as strings in alphabetical order?
I hope someone can help.