order

fun order(column: String, order: Order, nullsFirst: Boolean = false, referencedTable: String? = null)(source)

Orders the result by column in the specified order.

Parameters

column

The column to order by

order

The order to use

nullsFirst

If true, null values will be ordered first

referencedTable

If the column is from a foreign table, specify the table name here