Sorty is a lightweight, client-side mod that adds fast inventory sorting. The default keybind is the middle mouse button. When sorting an inventory, items are sorted by amount and type. Incomplete stacks of the same item are merged to free more inventory space. Items are grouped by type: Ingots are sorted with ingots, logs with logs, planks with planks.
Sorty is entirely client-side, you don't need to install it on a server for it to work. Sorting is a bit slower on multiplayer due to rate limits, although in most cases it should feel near-instant.
Sorty is compatible with almost every mod, except with other inventory sorting mods.
The development toolchain is pinned in mise.toml. With mise-en-place:
mise install
mise run install-hooks
mise exec -- .\gradlew.bat buildAlternatively, build directly with JDK 25:
.\gradlew.bat buildRun the Fabric client GameTest to launch the production-remapped mod in the configured Minecraft version, create a singleplayer world, and verify that the client starts successfully:
.\gradlew.bat runProductionClientGameTestOn Unix-like systems:
./gradlew runProductionClientGameTest