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

Sort order is case sensitive since V2 #61

Open
t-karcher opened this issue Jan 27, 2021 · 1 comment
Open

Sort order is case sensitive since V2 #61

t-karcher opened this issue Jan 27, 2021 · 1 comment

Comments

@t-karcher
Copy link

I just noticed that sorting by label in V2 completely messes up the list of alpine huts in

https://it.wikipedia.org/wiki/Utente:Tkarcher/Rifugi_delle_Alpi

Last version before V2:
https://it.wikipedia.org/w/index.php?title=Utente:Tkarcher/Rifugi_delle_Alpi&oldid=115918449

New sort order in V2:
https://it.wikipedia.org/wiki/Utente:Tkarcher/Rifugi_delle_Alpi

All lower case letters are suddenly moved to the end. :-(

Could you please restore the old, case-insensitive logic? Thanks!

@tacsipacsi
Copy link

Non-ASCII characters like Ö are also out of order. See for example https://hu.wikipedia.org/w/index.php?title=Szerkeszt%C5%91:Ato_01/pr%C3%B3balap/Magyarorsz%C3%A1g_wd_k%C3%A9ptelen_telep%C3%BCl%C3%A9sei&oldid=26605691Ömböly is after Zsurk, even though alphabetically it’s well before it. The documentation explicitly mentions that partial_cmp for strings is not an alphabetical sorting. The PHP version did have proper sorting (using Collator)…

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

No branches or pull requests

2 participants