sort_slice_unstable_by_c_str_key

Function sort_slice_unstable_by_c_str_key 

Source
pub fn sort_slice_unstable_by_c_str_key<A, T: ?Sized + AsRef<CStr>, F: FnMut(&A) -> &T>(
    slice: &mut [A],
    f: F,
)
Available on crate feature std only.
Expand description

Sort a slice by a CStr key, but may not preserve the order of equal elements.