Sorting Frogs

puzzle
1181 Played