Added ability to retrieve events ordered by time