Sorting Frogs

puzzle
1178 Played