Subscriptions Sorting By Letter Case

It appears that Sync sorts by numbers > Capital Case > lower case, as noted by !RimWorldPorn being sorted above !android rather than with !rimworld in the subscriptions list as I would have expected.

It's a small thing but just seemed odd. Is this intended?

App version is v24.03.26-14:56 (122)

33 points · 3 comments · view on lemmy.world

3 Comments

ChapulinColorado@lemmy.world · 7 pts · 2y (2 replies)

If you look up an ascii table you will see numbers come before upper case, which in turn comes before lower case. The programmers probably just did a simple compare instead of ignoring the case during the process (or similar).

pankkake@lemmy.world · 4 pts · 2y

strcmp virgin vs strcasecmp chad

r_thndr@lemmy.dbzer0.com · 3 pts · 2y

That's what I figured. I assumed it was either an oversight or done for expediency to tackle more important bugsfeatures.