} else {
rootNode.removeAllChildren();
}
// Apply any sorter associated with this node
GemSorter sorter = rootNode.getSorter();
if (sorter != null) {
entityList = sorter.getSortedList(entityList);
}
// Apply any categorization associated with this node
GemCategorizer<?> categorizer = rootNode.getCategorizer();
if (categorizer != null) {