ComparableComparator
A comparator that compares types according to their conformance to the comparable protocol.
Declaration
struct ComparableComparator<Compared> where Compared : ComparableOverview
The comparator uses the relevant type’s Comparable implementation to compare instances.