pub fn sort_str(slice: &mut [&str])Expand description
Performs in-place unstable sorting of string slice references with lexicographic ordering.
High-performance sorting function for string references using unstable sort algorithms. Efficient lexicographic ordering for string processing, text analysis, and data organisation tasks.
§Parameters
slice: Mutable slice of string references to be sorted in-place
§Usage Example
ⓘ
use simd_kernels::kernels::sort::sort_str;
let mut words = ["zebra", "apple", "banana", "cherry"];
sort_str(&mut words);
// words is now ["apple", "banana", "cherry", "zebra"]