Use your own comparator when sorting an MBDocument