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;
}