Sorting Frogs

puzzle
1054 Played