Add a compare method that can safely be used with a Comparator