Similar to the Bubble Sort, the Shuttle Sort compares the numbers during each pass through the numbers. It differs in that we must swap them, as seen in the table below by the dashes. Next, we make a comparison between the smallest of this pair and the number before it, swapping as necessary.