Ball sort is a puzzle where you move colored balls one at a time between tubes until each tube holds one color. In the app Sort Puzzle, you play this way by setting “Mode” to ”Stack” in Settings.

123456

It Solves Just Like Water Sort

The rules are almost the same as water sort (“Pour”). The only difference is that even if several balls of one color are in a row, you can move only one at a time.

A puzzle you can solve in Pour mode can be solved in Stack mode too, and in the roughly 4,000 small puzzles I checked, the reverse was also true (see Pour vs. Stack). Everything in Water Sort Tips, such as how to use an empty tube and how to spot a trap, works for ball sort as is.

Tip 1: Move a Run of One Color Together

In Stack mode, you are allowed to split a run of one color on top and send the pieces to different tubes. But there are almost no situations where that pays off.

I generated 40 ★1 puzzles the same way the app does, and checked the fewest moves in Stack mode by trying every move. In all 40 puzzles, the fewest moves was the same as the smallest total number of balls moved in the Pour solution. In other words, just moving a run of one color together to one tube is enough to reach the fewest moves.

If you split a color across two tubes, you need an extra move later to put it back together. When you can move a run together, do.

Tip 2: Count Moves as Balls Moved

In Stack mode, the number of moves is exactly the number of balls you move. Even for the same “get the top color out of the way,” clearing a run of 3 takes 3 moves.

  • If you want to empty a tube, start with the tube that has the fewest things in it.
  • If you want to dig out a color at the bottom, start with the tube that has the fewest balls on top.

For the puzzle above, the fewest moves was 11 in Pour mode and 14 in Stack mode. Here are the 14 moves for Stack mode.

See the 14 moves
123456
Move 1: 1→5
123456
Move 2: 1→5
123456
Move 3: 1→6
123456
Move 4: 2→1
123456
Move 5: 2→1
123456
Move 6: 3→6
123456
Move 7: 3→5
123456
Move 8: 3→1
123456
Move 9: 2→3
123456
Move 10: 2→6
123456
Move 11: 4→6
123456
Move 12: 4→3
123456
Move 13: 4→5
123456
Move 14: 4→3
123456
Sorted

Tip 3: Look at the Puzzle Again After Every Move

Because only one ball moves at a time, one move never changes the puzzle much. That means you can reconsider your next move after each one. After you drop one ball into an empty tube, check which ball can go in next and which colors are now showing on top of the other tubes.

In Stack mode, the hint also lights up as a single-ball move (see How to Use Hints).

Beyond Balls

The Stack-mode dress-up items in the app also include angular shapes such as building blocks and macarons, colored nuts threaded onto a bolt, and gem rings threaded onto a gold rod. The shape changes, but you play the same way.