Sorting Frogs

puzzle
1125 Played