orderBy
Specify the order by
clause of this query using the given order-by expressions.
fun WindowSpecificationExpression.orderBy(orders: Collection<OrderByExpression>): WindowSpecificationExpression(source)
fun WindowSpecificationExpression.orderBy(vararg orders: OrderByExpression): WindowSpecificationExpression(source)
Specify the order-by clause of this window using the given order-by expressions.
An order-by clause indicates how to sort rows in each partition. Partition rows that are equal according to the order-by clause are considered peers. If order-by is omitted, partition rows are unordered, with no processing order implied, and all partition rows are peers.
Since
3.6.0