
A client and server-side mod that adds intelligent inventory sorting with customizable methods and keybind support.

A NeoForge mod for Minecraft 1.21.1 that provides intelligent inventory sorting with multiple sorting methods,
customizable preferences, and an intuitive user interface.
| Method | Description |
|---|---|
| Alphabetical | Sorts items by display name (A-Z or Z-A) |
| Category | Groups items by creative tab, then alphabetically within each group |
| Quantity | Sorts by stack count (highest to lowest, or reversed) |
| Mod ID | Groups items by mod namespace, then alphabetically within each mod |
.jar file in your mods folder| Key | Action |
|---|---|
R |
Sort the inventory region under your cursor |
P |
Cycle to the next sort preference (method + order) |
Alt + Click |
Toggle slot lock on a player inventory slot |
The sort key automatically detects which inventory section to sort based on mouse position:
Hold the modifier key (default: Alt) and click a player inventory slot to lock or unlock it. Locked slots are
highlighted with a colored tint and are excluded from sorting operations.
Hovering over an empty locked slot shows a tooltip with unlock instructions. The modifier key, tint color, and tooltip
visibility are all configurable in the client config.
All commands use the /bnnchsort prefix:
/bnnchsort sortinv [region] - Sort your inventory
Regions: all, main, hotbar (default: main)
/bnnchsort change <method> <order> - Set your sorting preference
Methods: alphabetical, category, quantity, mod_id
Orders: ascending, descending
/bnnchsort reset - Reset preferences to server defaults
/bnnchsort unlock - Unlock all locked inventory slots
/bnnchsort config [key] - View configuration settings
Keys: method, order, button
/bnnchsort help - Display help and current preferences
Also shows locked slot counts
A small sort button appears on compatible container screens (chests, shulker boxes, player inventory). Click it to sort
the container contents. The button tooltip shows your current sort method and order.
The button can be disabled in the client configuration.
Located at config/bnnch_sort-client.toml
| Option | Default | Description |
|---|---|---|
showSortButton |
true |
Display the sort button on container screens |
lockModifierKey |
ALT |
Modifier key for locking slots (ALT, CONTROL, SHIFT) |
lockTintColor |
FFD70080 |
RGBA hex color for the locked slot overlay tint |
showLockTooltip |
true |
Show unlock hint tooltip on locked slots |
The lockTintColor value uses RGBA hex format. You can use a color picker like
rgbcolorpicker.com to choose a color and append the alpha value (00-FF) for transparency.
Here are some examples (at 50% opacity): FF000080 (red), FFD70080 (gold), 00FF0080 (green), 0000FF80 (blue).
Located at config/bnnch_sort-server.toml
| Option | Default | Description |
|---|---|---|
defaultSortMethod |
ALPHABETICAL |
Default sorting method for new players |
defaultSortOrder |
ASCENDING |
Default sort order for new players |
The mod sorts items in:
The following slot types are never sorted:
Disclaimer: Banner and logo were generated with the use of AI. These may appear in the gallery images.