Pre-sorted version of EER