Introduce event priority

All is in the title :kiss: