Sorting Frogs

puzzle
1070 Played