Bubble Sort Color Puzzle app icon

How to play

Ball Sort

Also known as Ball Sort Puzzle, Bubble Sort Color Puzzle, Color Ball Sort, Sort Balls Puzzle

  • 4.2★ 405 ratings
  • 100K+ downloads
  • On Google Play since 2021
  • Free to play

What is Ball Sort?

Ball Sort is a stacking logic puzzle played with tall tubes holding coloured balls in scrambled order. You may only lift the top ball of a tube, and you may only drop it onto a ball of the same colour or into an empty tube. The challenge is that every ball you move sits on top of another, so the order in which you unstack matters far more than which colour you happen to like.

How to play Ball Sort

Setting up the board

You are given a row of tubes, most of them filled to the top with balls of mixed colours, plus one or two empty tubes. Each tube usually holds four balls, and every colour appears exactly enough times to fill one tube. Later levels add more colours and more tubes, never new rules.

How it works

  1. Tap a tube to lift its top ball, then tap another tube to drop it there.
  2. Only the top ball of a tube can move; balls beneath it are locked in place.
  3. A ball may be dropped only onto a ball of the same colour, or into a completely empty tube.
  4. The destination tube must have a free slot - full tubes cannot accept anything.
  5. Balls move strictly one at a time, so a run of three matching balls takes three separate moves to relocate.
  6. Balls are never added, removed or recoloured; the puzzle is pure rearrangement.
  7. Undo reverses your last move, within whatever limit the level allows.

How to solve

The level is complete when every tube is either filled with balls of one single colour or completely empty, with no mixed tube left.

Play Ball Sort on your phone Free on Android — offline vs AI, or pass-and-play with a friend.
 Get it on Google Play

Solving tips

About this puzzle

Ball Sort belongs to the same wave of mobile colour-sorting puzzles that spread across app stores around 2019 and 2020, and like the rest of that genre it has no verified single inventor or invention date.

Ball-in-tube versions appeared alongside liquid versions and later reskins using nuts, hoops and pins, all sharing one mechanic under different art.

The underlying problem - restacking items between a limited number of columns until each column is uniform - is a long-studied one in computer science, closely related to container-relocation problems.

A 2022 research paper, Sorting Balls and Water, formalised both variants, proved them equivalent in solvability, and showed the general problem is NP-complete.

Frequently asked questions

The rules are effectively the same; the difference is that balls move one at a time while liquid pours an entire run of matching units in a single action. A 2022 study proved the two are equivalent in solvability - any position solvable one way is solvable the other - so Ball Sort simply takes more taps to reach the same result.

There is no losing condition, so a stuck board just means no useful move remains. Undo back to where the position was still open, or restart the level, which is free.

The level as generated is solvable, but your own moves can ruin it - dropping a ball onto the wrong tube can bury a colour with no free slot left to dig it out. Undo is the only way back once that happens.

An empty tube is the only destination that accepts a colour that matches nothing else on the board. With zero empty tubes and no matching tops, the position is frozen regardless of how many balls are visible.

Standard Ball Sort has no clock and no move limit, so you can study the board as long as you like. The difficulty comes entirely from planning order, not from speed.

More puzzles