Sorting Frogs

puzzle
1124 Played