Sorting Frogs

puzzle
1099 Played