Various sorting algorithms illustrated:

From Jon Bentley's "Programming Pearls", 2nd Ed., Addison-Wesley, 2000