A Sorting Algorithm Demo
Note: MergeSort looks a little strange. The graphics package does
not understand how to draw both the temporary array and the main
array, so what is displayed is a mix of the two.
Also note that on some browsers, spurious lines appear in the display,
or the display is not updated properly after two elements are swapped.
It is unclear why this happens.
The ``Start'' button starts each sort. You can have as many
as you like running at the same time. The FF, F,
S, and SS buttons make the algorithm run much
faster, a little faster, a little slower, or a bunch slower.