Ball Sort Puzzle

Congratulations, you won!