sort event keys by start time