}
boolean []ascendingList = new boolean[sortList.length];
for (int i = 0; i < ascendingList.length; i++) {
Expr isAscending = sortList[i].getAscending();
if (isAscending == null || isAscending.evalBoolean(node, env))
ascendingList[i] = true;
}
Comparator []comparatorList = new Comparator[sortList.length];
for (int i = 0; i < comparatorList.length; i++) {
Expr langExpr = sortList[i].getLang();
String lang = null;
if (langExpr != null) {
lang = langExpr.evalString(node, env);
}
if (lang != null)
comparatorList[i] = getComparator(lang);
}
int []caseOrderList = new int[sortList.length];
for (int i = 0; i < caseOrderList.length; i++) {
Expr caseOrder = sortList[i].getCaseOrder();
if (caseOrder == null)
caseOrderList[i] = Sort.NO_CASE_ORDER;
else if (caseOrder.evalBoolean(node, env))
caseOrderList[i] = Sort.UPPER_FIRST;
else
caseOrderList[i] = Sort.LOWER_FIRST;
}