.entrySet()) {
orderingAccessors.add(accessorFactory.createPropertyAccessor(
orderingProperty.getKey(), collectionElementContract));
orderingDirections.add(orderingProperty.getValue());
}
BeanComparator comparator = new BeanComparator(orderingAccessors,
orderingDirections);
List<Object> collectionOrigin = new ArrayList<Object>(propertyValue);
List<Object> collectionCopy = new ArrayList<Object>(propertyValue);
Collections.sort(collectionCopy, comparator);
if (!collectionCopy.equals(collectionOrigin)) {