SelectorImpl s = p.getSelectors().iterator().next();
if (!s.equals(filter.getSelector())) {
// ordered by a different selector
continue;
}
OrderEntry e = new OrderEntry(
p.getPropertyName(),
Type.UNDEFINED,
o.isDescending() ?
OrderEntry.Order.DESCENDING : OrderEntry.Order.ASCENDING);
sortOrder.add(e);