Skip to content

fix(_getdir): Fix dirs/files sort#2981

Open
allixx wants to merge 1 commit intoNovik:developfrom
allixx:fix-dirs-files-sort
Open

fix(_getdir): Fix dirs/files sort#2981
allixx wants to merge 1 commit intoNovik:developfrom
allixx:fix-dirs-files-sort

Conversation

@allixx
Copy link
Contributor

@allixx allixx commented Oct 16, 2025

scandir() sort result leaves much to be desired. There are cases where .. (parent dir) entry doesn't end up at first place. For example, entries starting with ( bracket get in its way.

It also sorts in case sensitive way, which hardly is human readable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant