sorting of EMS operations