ZOrderBy order=(ZOrderBy) orders.get(i);
ZConstant name=(ZConstant)order.getExpression();
rtn.sort(name.getValue().toLowerCase(),order.getAscOrder()?Query.ORDER_ASC:Query.ORDER_DESC);
}
if(maxrows>-1) {
rtn.cutRowsTo(maxrows);
}
}
// Distinct
if(query.isDistinct()) {
String[] keys=rtn.getColumns();