Sort by date for events