// sorting of entries - We must prefetch all contents here to be able to sort them in WebTML
String sortOrder = this.getSortorder();
if (sortOrder != null && !sortOrder.equals("none")) {
List<Object> objects = objectIterator.extractCompleteList();
if (!status.forEachType.equals("content")) {
java.util.Collections.sort(objects, new ObjectComparator(retrieveCollator()));
}
else {
contentSort(objects);
}