sort deadlocks by time