Sorting Frogs

puzzle
1064 Played