lib/formatter.js
function direction(value) {
    var raw = this.unwrapRaw(value);
    if (raw) {
      return raw;
    }
    return orderBys.indexOf((value || '').toLowerCase()) !== -1 ? value : 'asc';
  }
function direction(value) {
    var raw = this.unwrapRaw(value);
    if (raw) {
      return raw;
    }
    return orderBys.indexOf((value || '').toLowerCase()) !== -1 ? value : 'asc';
  }
function direction ( value ) { var raw = this . unwrapRaw ( value ) ; if ( raw ) { return raw ; } return orderBys . indexOf ( ( value || '' ) . toLowerCase ( ) ) !== - 1 ? value : 'asc' ; }
Specify the direction of the ordering.
Specify the direction of the ordering .