mirror of
https://github.com/aclist/dztui.git
synced 2026-10-28 21:52:46 +01:00
feat: casefold mod names before sorting
This commit is contained in:
1 parent
5757f79755
commit
8bcb64810d
5 files changed
+23
-17
No files matched your search
+1
-1
@@ -102,7 +102,7 @@ def get_delimited_mods(steam_path: Path) -> list[Any]:
|
||||
size = get_mod_size(mod)
|
||||
# NOTE: final col is cell renderer highlight toggle
|
||||
clean.append([meta.name, symlink, mod_dir, size, False])
|
||||
clean.sort(key=lambda row: row[0])
|
||||
clean.sort(key=lambda row: row[0].casefold())
|
||||
return clean
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user