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

Fix: Use natural sort when sorting the file list. #7727

Merged
merged 1 commit into from Sep 8, 2019

Conversation

j-pet
Copy link
Contributor

@j-pet j-pet commented Sep 7, 2019

Current sorting of the list of files does work incorrectly (at least on Windows OS). See images below.

Incorrect sorting in example of the Cyrillic chars:

Current (incorrect) With this fix (correct)
sort_letters old sort_letters new

Also a nice addition is the sorting of numbers:

Current With this fix
sort_numbers old sort_numbers new

@nielsmh nielsmh merged commit 7bdde8b into OpenTTD:master Sep 8, 2019
@j-pet j-pet deleted the Fix_sorting branch September 9, 2019 11:37
@nielsmh nielsmh added the backport requested This PR should be backport to current release (RC / stable) label Sep 16, 2019
@nielsmh nielsmh added backported This PR is backported to a current release (RC / stable) and removed backport requested This PR should be backport to current release (RC / stable) labels Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported This PR is backported to a current release (RC / stable)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants