A Comparator provides a general ordering mechanism. Some advantages have already been given.
You should always consider a Comparable however, if your class has a
natural ordering. If from your class, it seems obvious how instances should be ordered, make your class to implement Comparable.