listeria_rs
listeria_rs copied to clipboard
Sort order is case sensitive since V2
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!
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)…