Sorting Frogs

puzzle
1105 Played