Sorting Frogs

puzzle
1170 Played