pub fn partition_stable<T, F>(data: &[T], predicate: F) -> (Vec<T>, Vec<T>)where T: Clone, F: Fn(&T) -> bool,
Partition data into two groups: (passing, failing) — stable order.
data