pub fn rank<C>(survivors: Vec<&C>, by: impl Fn(&C, &C) -> Ordering) -> Vec<&C>Expand description
Order survivors by by. Stable. Consumes the slice of survivor references
(typically filter(...).iter().filter(|o| o.passed()).map(|o| o.candidate)).