Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Natural Sorting in the file dialogs #47

Open
TheRealCatherine opened this issue Feb 6, 2018 · 1 comment
Open

Use Natural Sorting in the file dialogs #47

TheRealCatherine opened this issue Feb 6, 2018 · 1 comment

Comments

@TheRealCatherine
Copy link
Owner

Right now you get things like:

1-SomeLevel.json
10-SomeOtherLevel.json
2-Level2.json
3-Level3.json
...

because the filenames are alphabetically instead of naturally sorted. There is lots of old advice on how to do this floating around using P/Invoke and a Windows XP-era DLL. This is not how we should do it - we need to find a cross-platform and modern solution.

@TheRealCatherine
Copy link
Owner Author

Note: file dialogs are under 3rdParty/FileBrowser (and/or 3rdParty/GraceGames) and opened from UIManager which then calls methods in Serializer

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

No branches or pull requests

1 participant