code: public Order ORDER(DomainObjectMatch<?> toOrder) {
  		DomainObjectMatch<?> delegate = APIAccess.getDelegate(toOrder);
  		DomainObjectMatch<?> match = delegate != null ? delegate : toOrder;
  		OrderExpression oe = this.queryExecutor.getOrderFor(match);
  		Order ret = APIAccess.createOrder(oe);
  		QueryRecorder.recordInvocation(this, "ORDER", ret, QueryRecorder.placeHolder(match));
  		return ret;
  	}
docs: Define an order on a set of domain objects which are specified by
  a DomainObjectMatch in the context of the domain query.
  @param toOrder the DomainObjectMatch
  specifying the set of domain objects which should be ordered
  @return