not a comparator. `fun compareTo(other: A)` is a w...
# announcements
v
not a comparator.
fun compareTo(other: A)
is a widely used pattern. It makes a lot of sense to make it a method/extension function