events are now sorted