NumberExpr numberExpr1 = (NumberExpr)o1;
NumberExpr numberExpr2 = (NumberExpr)o2;
cmp = new Double(numberExpr1.getNumber().doubleValue()).compareTo(new Double(numberExpr2.getNumber().doubleValue()));
break;
case TYPE_PATH_EXPR:
PathExpr pathExpr1 = (PathExpr)o1;
PathExpr pathExpr2 = (PathExpr)o2;
cmp = compare(pathExpr1.getLocationPath(), pathExpr2.getLocationPath());
if (cmp == 0)
{
cmp = compare(pathExpr1.getFilterExpr(), pathExpr2.getFilterExpr());
}
break;
case TYPE_PREDICATE:
Predicate predicate1 = (Predicate)o1;
Predicate predicate2 = (Predicate)o2;