I noticed that uppercase directories are sorted before=above lowercase directories. This feels unnatural compared to most file managers.
If localization is not an issue (probably solvable, considering other file managers the feature working), is it possible to sort directories case-insensitively?
It seems like sorting is performed here:
|
Arrays.sort(mFilesInDir); |
https://stackoverflow.com/a/17491652
How to sort alphabetically while ignoring case sensitive?
Collections.sort(listToSort, String.CASE_INSENSITIVE_ORDER);
I noticed that uppercase directories are sorted before=above lowercase directories. This feels unnatural compared to most file managers.
If localization is not an issue (probably solvable, considering other file managers the feature working), is it possible to sort directories case-insensitively?
It seems like sorting is performed here:
Android-DirectoryChooser/library/src/main/java/net/rdrei/android/dirchooser/DirectoryChooserFragment.java
Line 414 in ee5b7f1
https://stackoverflow.com/a/17491652