Sorted events based on time