Sorting Frogs

puzzle
1123 Played