orderBy

infix fun OrderByRouter.orderBy(builder: OrderByBuilder.() -> Unit): OrderBy

Create and chain an ORDER BY component for specifying the ORDER BY clause of the query.

Return

the ORDER BY component.

Parameters

builder

an OrderByBuilder block specifying properties and expressions to ORDER BY.