I just tried with my code and it seems it's not necessary. If I add one event with priority 5 and another with 40, 40 is executed before.