Enable sorting of events manually with event.priority