Wiki 9Minecraft Wiki 9Minecraft

Sorting Mechanics

Guides 2FAQ 10Related mods 48
DownloadInventory Sorting Mod

Get the files on 9Minecraft

Contents (3)
  1. Primary Triggers
  2. Next guides
  3. More in this wiki

The mod provides several ways to trigger an inventory sort. These methods are designed to be intuitive and non-intrusive during gameplay.

Primary Triggers

  • Middle-Click Sorting: Clicking the middle mouse button (scroll wheel) on any slot within an inventory will immediately sort the contents.
  • Double-Click Sorting: Double-clicking on an empty slot within an inventory will trigger the sorting algorithm.
  • Keybind: By default, players can press the 'P' key (configurable) while an inventory is open to sort it.
  • UI Button: A small 'A-Z' button appears in the top-right corner of supported inventory screens. Clicking this button sorts the inventory.

When a sort is triggered, the client sends a single request to the server. The server then calculates the optimal arrangement based on the configured sort type and updates the inventory slots instantly. This prevents the 'jitter' often seen in client-side mods that move items one by one.