• ThyTTY@lemmy.world
    link
    fedilink
    arrow-up
    25
    arrow-down
    1
    ·
    1 month ago

    I wonder if it has anything to do with alphabetical order… No, that’s not it

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      39
      ·
      1 month ago

      I’d say that “alphabet” has no relation to the things on that string.

      But yeah, it’s the Unicode Consortium that knows something about it, not Swift.

        • skulblaka@sh.itjust.works
          link
          fedilink
          arrow-up
          11
          ·
          1 month ago

          Yes, but it isn’t just :chicken: or something like you’d see in Discord. It’s unicode, so it’s actually U+1F414. Egg is U+1F95A.

          • davidgro@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            1 month ago

            And indeed 1F414 is a lower (hexadecimal) number than 1F95A, so in the absence of other criteria I’m sure in most systems it would sort first.

            They might not know the name for the extension of alphabetical order to all characters in Unicode (and neither do I) but it’s logical to associate it with alphabetical since it’s similar in concept.

        • marcos@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 month ago

          Depends on how you define “letter”, but they are definitively not alphabetical. They are ideographs.

    • Venator@lemmy.nz
      link
      fedilink
      arrow-up
      10
      ·
      edit-2
      1 month ago

      Maybe try adding 🐣, 🐥, 🐤 and 🍗 to the array and see if it still has the correct order.

      • superkret@feddit.org
        link
        fedilink
        arrow-up
        14
        ·
        1 month ago

        I wouldn’t even be surprised if the Unicode consortium had put those in the correct order – as an Easter egg.