Fixing a bug when sorting the queue's participant list by cohort