lib/builder.js
function orderBy(column, direction) {
    this._statements.push({
      grouping: 'order',
      type: 'orderByBasic',
      value: column,
      direction: direction
    });
    return this;
  }
function orderBy(column, direction) {
    this._statements.push({
      grouping: 'order',
      type: 'orderByBasic',
      value: column,
      direction: direction
    });
    return this;
  }
function orderBy ( column , direction ) { this . _statements . push ( { grouping : 'order' , type : 'orderByBasic' , value : column , direction : direction } ) ; return this ; }
Adds a `order by` clause to the query.
Adds a order by clause to the query .