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)

You are viewing a single thread.
View all comments
7 points

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).

permalink
report
reply
4 points
*

strcmp virgin vs strcasecmp chad

permalink
report
parent
reply
3 points

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

permalink
report
parent
reply

Sync for Lemmy

!syncforlemmy@lemmy.world

Create post

πŸ‘€


Welcome to Sync for Lemmy!

Download Sync for Lemmy


Welcome to the official Sync for Lemmy community.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Community Rules


1- No advertising or spam.

All types of advertising and spam are restricted in this community.



Community Credits

Artwork and community banner by: @MargotRobbie@lemmy.world


Community stats

  • 401

    Monthly active users

  • 724

    Posts

  • 14K

    Comments