int idx = property.indexOf(".");
if (idx != -1) {
order = SortRequest.Order.valueOf(property.substring(idx + 1).toUpperCase());
propertyId = property.substring(0, idx);
}
properties.add(new SortRequestProperty(propertyId, order));
}
}
return new SortRequestImpl(properties);
}