You're viewing a single thread.
I wonder if it has anything to do with alphabetical order... No, that's not it
25 1 ReplyI'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.
38 0 ReplyThat emoji is also really just some letters is it not? So it probably is alphabetical.
4 0 ReplyYes, 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.
11 0 ReplyAnd 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.
4 0 ReplyIm just gonna believe those are the correct codes. Thanks for the confirmation :)
1 0 Reply
Depends on how you define "letter", but they are definitively not alphabetical. They are ideographs.
2 0 ReplySee the neighbouring comment
1 0 Reply
Maybe try adding 🐣, 🐥, 🐤 and 🍗 to the array and see if it still has the correct order.
10 0 ReplyI wouldn't even be surprised if the Unicode consortium had put those in the correct order – as an Easter egg.
14 0 Reply
Permanently Deleted
5 0 ReplyEvolution turned out wildly different in an alternate universe where E comes before C except after I
4 0 Reply