sorting events by day