Ouleiya
Home › Games › Shelf Sort

Shelf Sort

Shelf Sort is a stockroom that someone else stocked badly. Apples, milk cartons, cookies, cheese wedges, teacups, gift boxes and the rest are scattered across the shelves, three slots to a shelf. Put three of the same thing on one shelf and they get packed away. Pack everything before the clock runs out and you’re on to the next level.

Shelf Sort level 9 with ten shelves of goods: a selected star and a shelf holding two stars and one free slot; two shelves show dimmed back rows.
Level 9 with 10 sets left to pack: a star is picked up, and one shelf already holds two stars and an open slot.
Shelf Sort level 8 with ten shelves in a wide layout: a selected gift box, a shelf with two gift boxes and a free slot, and one dimmed back row.
Level 8, 2:26 on the clock: the picked-up gift box can join the two gift boxes on another shelf to pack a set.

The back rows

The first two levels are a plain matching game. From level 3 on, many shelves are deep: one or two more rows of goods wait behind the front row. You can see the next row as small, dimmed items on the back board, and a badge (+1 or +2) tells you how many rows are back there. Tap the dimmed row and the game reminds you how it works.

A back row steps forward only when all three front slots of that shelf are empty. You can’t reach past the front. So clearing a shelf is a small gamble. Sometimes the row that comes forward has exactly what you were waiting for, and sometimes it’s three new items with no partners anywhere on the board.

That’s most of the game, really. Everything else is bookkeeping.

Rules, in order

Moving. Tap an item to pick it up (it lifts and its slot glows), then tap another shelf that has a free slot. Tap a particular free slot and the item goes there; tap anywhere else on the shelf and it takes the first free one. Dragging works too. Only front-row items move.

Packing. The moment a front row holds three identical items, they pop and get packed. The “To pack” counter at the top counts the sets still left.

The clock. Each level gives you 50 seconds plus 9 seconds per set to pack. The bar under the stats drains as it runs, and the timer turns red for the last ten seconds.

Stuck. If every front slot on every shelf is full, nothing can move. You get one Shuffle per level. It collects every item still on the shelves and re-deals them into a layout the solver has confirmed can be finished. If the shelves were completely jammed, the shuffle also packs one set itself so you have room to work. You can use it whenever you like, not only when you’re stuck.

End of a level. Pack everything and the next level unlocks. Run out of time, or get stuck with the shuffle already spent, and the level ends. “Play again” gives you a fresh layout of the same level.

How levels are built

There are 20 kinds of goods, all drawn as simple shapes so they stay readable on a small phone. Level 1 uses four of them: 6 shelves, 4 sets to pack, 86 seconds. Every three levels add two shelves, up to a maximum of 12, and the number of different goods creeps up as you go.

Level Shelves Rows per shelf Sets to pack Clock
1-2 6 1 4 1:26
3 6 up to 2 up to 6 up to 1:44
5 8 up to 2 up to 8 up to 2:02
10 12 up to 3 up to 13 up to 2:47
20 12 up to 3 up to 23 up to 4:17

About the “up to.” Every layout is dealt at random and then handed to a solver before you see it. The solver tries to clear that exact layout using only legal moves: up to 40 attempts, each a guided random playout. If it can’t, the layout is thrown out and a new one is dealt. If a full-size layout refuses to come out, the generator drops two sets (and 18 seconds of clock with them) and tries again. A level that can’t be won never reaches you. The deal also makes sure no shelf starts with a set already sitting on it.

The same check runs on the layout a shuffle produces.

Your current level and best level are saved in your browser, so you can close the tab and come back.

Tips

Scan for pairs first. A shelf holding two of the same item and one free slot is a pack waiting to happen. Find those before anything else and bring the third item over. Each pack frees three slots.

Move the single to the pair, not the other way around. Breaking up a pair to make a different pair is the easiest way to run out of room. The solver we use to check levels gets a penalty for it, for the same reason.

Keep an empty shelf if you can. Three free slots is a workbench. Park things there while you collect sets elsewhere, and avoid filling it with three different items unless there’s no other choice.

Go after the deep shelves. A shelf with a +1 or +2 badge is hiding goods, and emptying its front brings more options onto the board. Check the dimmed back row first. If it holds something you need, that shelf is a good target. (The solver likes this move too. It gets a small bonus for freeing a back row.)

Except when the back row is three strangers. If the row behind holds three items you have no partners for yet, clearing the front just adds three orphans. Leave that shelf for later.

Don’t spend the shuffle on a messy board. Messy is normal. Save it for actually stuck.

FAQ

Is every level really solvable?

Yes. A layout only appears after the solver has cleared it with legal moves. Ones it can’t clear are discarded. Shuffled layouts go through the same check.

What happens when I lose a level?

You replay the same level number with a new layout. Your saved progress doesn’t move.

Can I start over from level 1?

When you come back to the game, the start screen has “Continue” and a “Start over from level 1” button.

Is there a last level?

No. From level 32 on, the boards stay at their maximum size of 12 shelves and all 20 kinds of goods, and every layout is still freshly dealt and checked.

Published September 27, 2026 · Made by the Ouleiya team

Guides for Shelf Sort

More games