To sort an inventory, simply hover over it with your mouse and press the keybind (default: middle mouse button).
You can hold Shift
, Control
or Alt
when pressing the sort button to use a different sorting order.
Fabric: Fabric API, ModMenu, Cloth Config API
NeoForge: Cloth Config API
ClientSort uses Siphalor's sorting algorithm from Mouse Wheelie, under license.