Sorting algorithms/Pancake sort: Difference between revisions