songy

telegram bot as a songbook
git clone git://git.relim.de/songy.git
Log | Files | Refs | README | LICENSE

commit 33e0679818604afeeb7c8b47813f468affe8f5b2
parent fe818d6ee37dcab52fde3ba42cff0ace2a630cf1
Author: devrobinkroeker <kroekerrobin@gmail.com>
Date:   Sun, 16 Apr 2023 21:04:32 +0200

Again add sorting alphabetically

Diffstat:
Msrc/main.rs | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/main.rs b/src/main.rs @@ -283,5 +283,6 @@ fn get_files_recursive(folder_path: &String) -> Vec<fs::DirEntry> { println!("Cannot open/read or what ever the path {}.", folder_path); } } + songs.sort_by_key(|name| name.file_name().into_string().expect("Error").to_lowercase()); return songs; }