In this article
Sorting criteria define the value and direction for sorting in ranking functions. Each criterion includes an expression of comparable type and direction.
Sorting criteria are used in ranking functions. A criterion consists of the following items:
Expression defining the value to sort by (must be of comparable type)
Sorting direction (ascending/descending)