public Query order(final String props, final String dir) {
    this.orderBy = props;
    this.orderByDir = dir;
    return this;
  }
public Query order(final String props, final String dir) {
    this.orderBy = props;
    this.orderByDir = dir;
    return this;
  }
public Query order ( final String props , final String dir ) { this . orderBy = props ; this . orderByDir = dir ; return this ; }
(Blueprints Extension) Sets the order of results by a field in ascending (asc) or descending (desc) order based on dir
parameter. This is translated on ORDER BY in the underlying SQL query.

@param props Field to order by
@param dir   Direction. Use "asc" for ascending and "desc" for descending

@return Current Query Object to allow calls in chain.
( Blueprints Extension ) Sets the order of results by a field in ascending ( asc ) or descending ( desc ) order based on dir parameter . This is translated on ORDER BY in the underlying SQL query .