truncate_to_bottom_n_sorted_by

Function truncate_to_bottom_n_sorted_by 

Source
pub fn truncate_to_bottom_n_sorted_by<T, F>(
    items: &mut Vec<T>,
    limit: usize,
    compare: &F,
)
where F: Fn(&T, &T) -> Ordering,