refactor: now all filesystem related trees/lists are sorted in case-insensitive mode

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-06-11 15:20:50 +08:00
parent c3c7d32167
commit 5494093261
No known key found for this signature in database
6 changed files with 22 additions and 19 deletions

View file

@ -71,7 +71,7 @@ namespace SourceGit.ViewModels
changes.Add(c);
if (needSort)
changes.Sort((l, r) => string.Compare(l.Path, r.Path, StringComparison.Ordinal));
changes.Sort((l, r) => Models.NumericSort.Compare(l.Path, r.Path));
}
Dispatcher.UIThread.Invoke(() =>