# $$\text{SortReverse}$$¶

You can use the $$\text{SortReverse}$$ function to sort an iterable value in descending order.

You can use the \sortr backslash command to insert this function.

The following variants of this function are available:

• $$\text{tuple } \text{SortReverse} \left ( \text{<set>} \right )$$

• $$\text{tuple } \text{SortReverse} \left ( \text{<tuple>} \right )$$

• $$\text{matrix } \text{SortReverse} \left ( \text{<matrix>} \right )$$

The $$\text{SortReverse}$$ function is very similar to the $$\text{Sort}$$ function. For details, see the Sort function documentation.