sorting for eve and simcompare