sorted() changed to reversed() since some time entries occur on the same second.