orderBy

fun orderBy(column: Expression<*>, order: SortOrder = SortOrder.ASC): T

Modifies this query to sort results by the specified column, according to the provided order.


open override fun orderBy(vararg order: Pair<Expression<*>, SortOrder>): T

Modifies this query to sort results according to the provided order of expressions.