close icon

Inventory Sorting Mod


0

Average rating: 1.6

Ten trips back from a mine and the chest by your door is a mess of cobblestone, seeds, iron and half-stacks of dirt. Inventory Sorting fixes that with one click: it merges partial stacks and lines items up in a fixed order, in the chest you have open or in your own inventory. The files on this page are Inventory Sorter for Fabric, the small mod started by kyrptonaught and now maintained by meza, covering Minecraft 1.14.4 to 1.21.4.

Players who remember Inventory Tweaks often come looking for it here. That mod’s own page says it is unmaintained and stops at 1.12.2, so on modern Fabric this is the lightweight replacement for its sorting half.

Chest with apples, potatoes and bread scattered across slots, then the same chest sorted into three stacks
Before and after one press of the sort button: scattered food merged into three tidy stacks at the start of the chest.

Four ways to sort

You do not have to aim for the tiny button every time. With default settings in the 1.9.x builds, any of these works:

  1. The sort button. A small button sits at the top right of the open container, and a second one appears for your player inventory.
  2. Middle-click on a slot sorts the inventory that slot belongs to.
  3. Double-click a slot to do the same, which helps on laptops without a middle button.
  4. The P key sorts whichever half of the screen your mouse is over, chest or inventory. Rebind it in Options, Controls under the Inventory Sorting category.

There are chat commands too: /invsort sort sorts the container you are looking at and /invsort sortme sorts your own inventory.

Changing the sort order

The old description of this mod said that clicking the button again cycles the filter. It does not: each click just sorts. To change the order, hover over the sort button and scroll the mouse wheel. The tooltip shows the current mode:

  • Name, the default, alphabetical by item name.
  • Category follows the creative menu tabs, so building blocks, tools and food end up in separate groups.
  • Mod groups items by the mod that adds them, which is the most useful order in big packs.
  • Id sorts by internal item ID.

By default, sorting a chest leaves your own inventory alone. If you want both sorted together, turn on “Sorting also sorts player inv” in the settings.

Containers that should stay untouched

Some modded machines use slots for specific inputs, and sorting them would shuffle fuel into an ore slot. The mod handles this with two lists in config/inventorysorter/blacklist.json5: one disables sorting for a screen, the other only hides the buttons. You rarely need to edit the file by hand. Turn on debug mode in the settings, hold Left Ctrl and click the sort button inside the problem container, and the chat offers clickable links that add it to either list.

The settings screen itself opens from the Mods list, which on Fabric means installing Mod Menu. Without it, the defaults above still apply.

Server or single-player

Sorting is done by the game’s server side, so in single-player it simply works. On a multiplayer server the mod has to be installed on the server as well, or the button does nothing. The current 2.x and 3.x releases by meza go further and can sort for players with no mod at all, but they need Cloth Config on the client for the buttons. We keep the classic 1.x line here, which has no extra library beyond Fabric API.

Inventory overlay above the hotbar with armor durability and potion timers on screen
Searching for an inventory overlay rather than sorting? That is Inventory HUD+ for Fabric, shown here.

Installing on Fabric

  1. Install Fabric Loader for your Minecraft version and the matching Fabric API; the mod will not start without it.
  2. Pick the file for your exact version. The newest here, 1.9.1, is for 1.21.4.
  3. Place it in the mods folder and launch. Open a chest: the sort button in its top right corner confirms the mod is loaded.

The very old 1.14 to 1.16 files predate some of the settings described above, so expect fewer options there.

Good companions

  • Inventory HUD+ shows your inventory, armor and effects on screen while you play. A Forge build exists too.
  • Inventory Pause stops time in single-player while an inventory screen is open, so sorting a chest at night is safe.
  • AppleSkin adds hunger and saturation values to food tooltips, useful once your food is grouped in one chest.
Player inventory screen behind a large pause symbol and the words Inventory Pause
With Inventory Pause the world freezes while you tidy up, so mobs cannot sneak up on you.
Vertical inventory panel on the right and armor percentages on the left of an ocean view
The vertical layout of Inventory HUD+ keeps your sorted inventory visible at the screen edge.
Inventory with a pumpkin pie tooltip and food items in the hotbar row
Food tooltips from AppleSkin help decide which stack in a sorted chest is worth carrying.
MC version 1.21.4
Download Inventory Sorting 1.21.4 [221.28 Kb](Downloads: 25)
MC version 1.20.4
Download Inventory Sorting 1.20.4 [218.03 Kb](Downloads: 21)
MC version 1.20.1
Download Inventory Sorting 1.20.1 [217.67 Kb](Downloads: 98)
MC version 1.19.4
Download Inventory Sorting 1.19.4 [217.56 Kb](Downloads: 289)
MC version 1.19-1.19.3
Download Inventory Sorting 1.19-1.19.3 [214.71 Kb](Downloads: 2093)
MC version 1.18.x
Download Inventory Sorting 1.18.x [199.02 Kb](Downloads: 470)
MC version 1.17.x
Download Inventory Sorting 1.17.x [0.96 Mb](Downloads: 184)
MC version 1.16.4-1.16.5
Download Inventory Sorting 1.16.4-1.16.5 [483.45 Kb](Downloads: 152)
MC version 1.16.3
Download Inventory Sorting 1.16.3 [477.54 Kb](Downloads: 331)
MC version 1.16.2
Download Inventory Sorting 1.16.2 [477.54 Kb](Downloads: 92)
MC version 1.16.1
Download Inventory Sorting 1.16.1 [466.46 Kb](Downloads: 437)
MC version 1.15.2
Download Inventory Sorting 1.15.2 [456.75 Kb](Downloads: 142)
MC version 1.14.4
Download Inventory Sorting 11.14.4 [302.56 Kb](Downloads: 47)


Tags:
Share:

Similar mods

0
0
18

Fabric goes the opposite way from Forge. The loader is a small piece that injects mods into the game and almost nothing else, which is why it is ready for…

0
0
0

GeckoLib library is required for some mods to work. With this library, mod creators can export animations, new mobs and other objects. It makes it much easier to add them…

0
0
0

Macaw’s Fences and Walls mod will expand your options for building in Minecraft because it adds new types of walls, fences, and even gates. The new items are very easy…

Leave comment

Please, leave comment

You didn't enter your name

Enter valid email

Leave comment

All files from Guide-Minecraft.com can be downloaded for free. Copyrights belong to their rightful owners. When copying materials active link to the site is required!
2018-2026 © Guide-Minecraft.com ®