logo
pub fn is_sorted_by<I, F>(arr: &[I], compare: F) -> bool where
    F: FnMut(&I, &I) -> Option<Ordering>,