OrderByBuilder orderByBuilder = builder.orderBy();
for (OrderBySpec spec : orderBy) {
OrderByOperandBuilder operandBuilder = null;
switch (spec.getOrder()) {
case ASCENDING:
operandBuilder = orderByBuilder.ascending();
break;
case DESCENDING:
operandBuilder = orderByBuilder.descending();
break;
}