sorting events by time
removed duration from events json response