@Override
 public int compare(ListItem f1, ListItem f2) {
   if (f1.isCollection() && !f2.isCollection()) {
     return -1;
   } else if (f2.isCollection() && !f1.isCollection()) {
     return 1;
   } else {
     return collator.compare(f1.getDisplayName(), f2.getDisplayName());
   }
 }