Ball sort puzzle

A sorting puzzle: move balls between tubes until each tube contains balls of only one colour.

CA ES