Sorting Frogs

puzzle
1139 Played