Fix unattendEvent decrementing slots, sort events before publishing