Sorting Frogs

puzzle
1141 Played