Here's a nifty web page which shows a way of visualizing the operation of various common sorting algorithms.
Sample output for Heapsort:
The coolest thing about this of course is the ability to dynamically generate rich graphics in the browser. All hail the HTML5 <canvas> element!
Show the User Journeys
12 hours ago