company logo

ORDER BY keyword

Keywords:  order by method

The keyword can be written in capital or small letters, but not mixed. Using capital letters refers to a reserved keyword. The BY keyword is optional. In order to refer to the order function from within an operation path, the ORDER (or order) keyword should be used without succeeding BY.

The keyword expects an index or key name or a list of attribute names as parameter.

Definition: 

_order_by             := _order [_by]

_order                := 'order'        | __order

__order               :: 'ORDER'

_by                   := 'by'           | __by

__by                  :: 'BY'