Sort schedule by time.