Bubble sort in both directions: large values move right, then small values move left.
This interactive visualization needs JavaScript.