human_sort
pub fn sort(arr: &mut [&str])
Sorts &str in human-friendly order
use human_sort::sort; let mut arr = ["file10.txt", "file2.txt", "file1.txt"]; sort(&mut arr); assert_eq!(arr, ["file1.txt", "file2.txt", "file10.txt"]);