fn already_sorted( pdus: &[(usize, (OwnedRoomId, OwnedEventId, CanonicalJsonObject))], ) -> bool
Whether the batch is already in causal order, in which case the sort can be skipped.