listOrderBy*

Purpose

Lists all of the instances of the domain class ordered by the property in the method expression

Examples

def results = Book.listOrderByAuthor() // everything
def results = Book.listOrderByTitle(max:10) // 10 results
def results = Book.listOrderByTitle(max:10, offset:100, order:"desc") // 10 results, offset from 100

Description

Parameters: