code: public OptionalSyntax orderBy(Path<?>... path) {
  		String fieldList = "";
  		boolean firstExpression = true;
  		for (Path<?> exp : path) {
  			if (firstExpression) {
  				fieldList = fieldList.concat(exp.toString());
  				firstExpression = false;
  			} else {
  				fieldList = fieldList.concat(", ").concat(exp.toString());
  			}
  
  			LOG.debug("expression: " + exp);
  		}
  		QueryMessage mess = getMessage();
  		mess.setOrderByClause(fieldList);
  		return new OptionalSyntax(mess);
  	}
docs: Method to get the optional syntax for order by operator
  
  @param Path the path
  @return OptionalSyntax the optional syntax