Is there any box sorting logic?
I'm trying to understand how automated sorting working, but I can't find any logic behind it. Here's some examples - [Clothing](https://i.ibb.co/BL0tz1R/Clothing.png). Ok, Coarse Thread is first, but why Scales second? Why Imperial Thread is earlier than Wool Thread? Why Carpet Roll is after Silkworm?
Now let's check [metals](https://i.ibb.co/BrBCSwN/Ores.png). Copper ore first, that's fine. But Iron Ingot is second, followed by Copper Ingot??? Then Glass - this looks like by alphabet, but then Dark Iron? Sulfur, again looks like alphabet ... but Iron Cast?
And my favorite box - [Gems](https://i.ibb.co/BB8hfqv/Gems.png). This is complete disaster. Regular Topaz and Flawless Topaz, looks logical. Same for Ruby. But it doesn't work for Emerald or Sapphire. And Crude gems are all over the place and Gem Dust is somehow in the middle.
Does anybody have an idea on what logic is behind this sorting system?