• ThyTTY
    link
    252 months ago

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

    • @marcos
      link
      402 months 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
          link
          fedilink
          112 months 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
            link
            62 months 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
          link
          32 months ago

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

    • @[email protected]
      link
      fedilink
      10
      edit-2
      2 months ago

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

      • @[email protected]
        link
        fedilink
        142 months ago

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

    • Sabre363
      link
      fedilink
      English
      42 months ago

      Evolution turned out wildly different in an alternate universe where E comes before C except after I