@classmethod
def order_and_label(cls, t):
    """Order and label of a discrete type.

        Cf. :meth:`Profile.order_and_label`.

        Examples
        --------
            >>> ProfileOrdinal.order_and_label('abc')
            ('abc', '$r(abc)$')
            >>> ProfileOrdinal.order_and_label('a~b>c')
            ('a~b>c', '$r(a\\\\sim b>c)$')
        """
    if len(t) == 3:
        return t, '$r(%s)$' % t
    else:
        return cls.order_and_label_weak(t)
