Function into_sorted

Source
pub fn into_sorted<Item, Array>(array: Array) -> Array
where Array: AsMut<[Item]>, Item: Ord,
Expand description

Sort an array by Ord and return it.