def METHOD_NAME(cls):
    # Note that all searchable attributes are also orderable.
    return sorted(
        [
            p
            for p in cls.__dict__
            if isinstance(getattr(cls, p), (searchable_attribute, orderable_attribute))
        ]
    )