UIContentSizeCategory implements the usual comparison operators through an NS_REFINED_FOR_SWIFT macro, but does not declare Comparable conformance. Implementing it is as easy as
extension UIContentSizeCategory: Comparable {}
Is there a reason why Comparable is not implemented by default?