pub fn is_unique_sorted<T: Ord, I: Iterator<Item = T>>(iterator: I) -> bool
Checks if an iterator yields ordered and unique values.