Get your own website
Pass 1: 1 2 3 4 5
Pass 2: 1 2 3 4 5
No swaps, so the array is sorted. Stop!