order

fun order(attribute: String): Scope<R>

Order the resources by an attribute

Parameters

attribute

The attribute to order by


fun order(attribute: String, sortDirection: SortDirection): Scope<R>

Order the resources by an attribute

Parameters

attribute

The attribute to order by

sortDirection

The direction to order in