is_sorted

Function is_sorted 

Source
pub fn is_sorted<T: PartialOrd>(data: &[T]) -> bool
Expand description

Function for sorting a slice that implements std::cmp::PartialOrd. Remove this once is_sorted is stabilized in std