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!
1 week ago