From 9950f41ba4cea536300d5bf5c292b8ba9a719f30 Mon Sep 17 00:00:00 2001 From: EvilMuffinHa Date: Wed, 2 Mar 2022 20:29:33 -0500 Subject: [PATCH] alpha bug --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 78aeff0..4cd6a59 100644 --- a/src/main.rs +++ b/src/main.rs @@ -172,7 +172,7 @@ fn directory_structure(path: String) -> HashMap<&'static str, HashMap>(); - sort.sort(); + sort.sort_by_key(|a| a.to_lowercase()); let paths = sort.into_iter() .enumerate() .map(|x| (x.0 as i32, DirPath {