The sorting was needed in the previous implementation of the hazard_getters (otherwise qa_tests.risk.event_based.case_3 would break) but it seems that now it is not needed anymore (as it should be).