168169170171172173174175176177178
if (idx != -1) { desc = o.substring(idx + 1).trim().equals("descending"); o = o.substring(0, idx); } o = "this." + o; ofs[i] = new BasicOrderField((QueryTreeField) qt.getTupleStructure().getField(o), desc); } sp.setOrderBy(ofs); }