Page 1 of 1

[Rseding91] [1.1.19] Alphabetic sorting of station names is inconsistent regarding case

Posted: Fri Jan 29, 2021 4:40 pm
by jdg
Sorting stations is case-sensitive in the Train overview > Stations tab and case-insensitive in the Train schedule station picker dialog.

I would expect this to be consistent across the two lists (either case-sensitive or case-insensitive).

Image

Re: [1.1.19] Alphabetic sorting of station names is inconsistent regarding case

Posted: Sun Jan 31, 2021 6:51 pm
by Rseding91
I was looking into this and I don't know if it's actually broken... It looks correct code wise and there's some additional sorting based off the availability of the station. Can you provide a simple save file reproducing the issue so I can test?

Re: [Rseding91] [1.1.19] Alphabetic sorting of station names is inconsistent regarding case

Posted: Mon Feb 01, 2021 9:54 am
by jdg
Look for station "AATest" and "aaTest". They are both reachable from the locomotive in screen:
station name sorting issue.zip
(36.54 MiB) Downloaded 156 times

Re: [Rseding91] [1.1.19] Alphabetic sorting of station names is inconsistent regarding case

Posted: Wed Feb 03, 2021 6:28 pm
by Rseding91
Ok, the issue was in the stations listing not using the right sort order. The train stops list was using the right sort order. It's now fixed for the next release.

Re: [Rseding91] [1.1.19] Alphabetic sorting of station names is inconsistent regarding case

Posted: Thu Feb 04, 2021 8:42 am
by jdg
Good stuff! Thanks