compare method
Implementation
Ordering<void> compare(String other) {
final difference = compareTo(other);
if (difference > 0) {
return Greater(null);
} else if (difference < 0) {
return Less(null);
} else {
return const Equal();
}
}