Sorting chests

How a chest is sorted, what ends up together, and the layout each chest remembers.

Open a chest, barrel or shulker box and click the sort button above it, on the right.

A chest full of mixed items sorted with one click, then laid out in rows

The layouts #

ClickLayout
ClickAuto: picks the layout that suits what is in the chest. You can change this, see below.
Shift+ClickColumns: each kind of thing gets its own column.
Ctrl+ClickRows: each kind of thing gets its own row.
Alt+ClickCompact: everything in order, no gaps.

Each chest remembers the layout you used on it. Quick Empty and sorting on open use it again. A chest sorted on Auto keeps picking as its contents change.

What goes together #

Sorted groups things by what they are, not by name. A redstone chest gets dust, torches, repeaters and comparators in one group, pistons in the next, then droppers, dispensers and hoppers, then rails.

A redstone chest sorted, then laid out in rows

In a wood chest each kind of wood is a group of its own, with logs, planks, stairs, slabs, fences and doors in the same order.

A wood chest sorted into one row per kind of wood

Settings #

Click to sort containers default Auto
What a plain click on the sort button does: Auto, Compact, Columns or Rows.
Auto-sort containers on open default Off
Sort a chest, barrel or shulker box when you open it, in the layout you used on it last.
Merge partial stacks default On
Combine partial stacks of the same item before sorting.

Something missing or wrong on this page? Say so on Discord.