Sorting Frogs

puzzle
1122 Played