pub(crate) fn sort_initial_filtered(filtered: Vec<FilterResult>) -> Vec<FilterResult> {
    let mut filtered = filtered;
    filtered.par_sort_unstable_by(|(_, v1, _), (_, v2, _)| v2.partial_cmp(&v1).unwrap());
    filtered
}
/// Sorts the filtered result by the filter score.
///
/// The item with highest score first, the item with lowest score last.
Sorts the filtered result by the filter score.
The item with highest score first, the item with lowest score last.
Sorts the filtered result by the filter score . The item with highest score first the item with lowest score last .
pub(crate) fn sort_initial_filtered(filtered: Vec<FilterResult>) -> Vec<FilterResult> {
    let mut filtered = filtered;
    filtered.par_sort_unstable_by(|(_, v1, _), (_, v2, _)| v2.partial_cmp(&v1).unwrap());
    filtered
}
pub ( crate ) fn sort_initial_filtered ( filtered : Vec < FilterResult > ) -> Vec < FilterResult > { let mut filtered = filtered ; filtered . par_sort_unstable_by ( | ( _ , v1 , _ ) , ( _ , v2 , _ ) | v2 . partial_cmp ( & v1 ) . unwrap ( ) ) ; filtered }
Sorts the filtered result by the filter score.
Sorts the filtered result by the filter score .
filtered
Vec<FilterResult>