Sorting Frogs

puzzle
1131 Played