Sorting Frogs

puzzle
1104 Played