What are the precise rules for inventory sorting feature in Terraria?
With the new update a new button has appeared. It says "Sort inventory":

When you click it, items in your items will be reordered and colored, presumably based on what type are they according to the algorithm:

Items marked as favourite will be unaffected. However it's entirely unclear what order applies to items of the same type. I was hoping to sort all my potions by name. That's not what is applied, as you can see here:

So what are the precise rules for sorting items, their colors and order of the items of the same type? This is a new feature, I'm sure other people are also curious how does it work...
Best Answer
The other answer is false. The items are sorted by type (i.e. melee weapon, ranged weapon, block etc.), and the colours do not correlate with the rarity. This can be seen in that the copper shortsword, with a white rarity, is light pink when sorted.
Pictures about "What are the precise rules for inventory sorting feature in Terraria?"



Quick Answer about "What are the precise rules for inventory sorting feature in Terraria?"
- When you click it, items in your items will be reordered and colored, presumably based on what type are they according to the algorithm:
- Items marked as favourite will be unaffected.
How do you sort inventory in Terraria?
It is highly recommended to carry these items if you have them.- Blocks & Platforms.
- Explosives.
- Grappling Hooks.
- Informational Accessories.
- Home Teleports.
- Healing Potions.
- Portable Storage.
- Potions.
What should I keep in my inventory in Terraria?
Rather than spending countless hours sorting and re-sorting your items, build this auto-sorter! An auto-sorter will gather material that you place in a chest and sort it into different chests that you can easily access to grab what you need. This auto-sorter includes enough chests to store five different materials.Can you auto sort inventory Minecraft?
To lock an item, simply enter your inventory using Esc. (or whichever hotkey you have assigned to opening it), hold the Alt key and left-click the item you wish to be locked.Inventory Organization Guide For Terraria 1.4
More answers regarding what are the precise rules for inventory sorting feature in Terraria?
Answer 2
Items sort by rarity (color) from most valuable to least valuable (according to rarity, not actual price), grey colored items being the least valuable and either rainbow or amber being the most valuable.
For more about rarity, please visit this page.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: olia danilevich, Tima Miroshnichenko, Quang Nguyen Vinh, Tiger Lily
