sort events by day