def sorted_by_precedence(values):
    """
    Return ``values`` sorted ascending by their ``precedence`` property.

    :param values: Sequence of values to sort (each value must have a
                   ``precedence`` property)
    :return: Sorted list of values
    :rtype: :class:`list`
    """
    return sorted(values, key=lambda value: -value.precedence)
