Projects / The Sound of Sorting

The Sound of Sorting

The "Sound of Sorting" is a demo program containing many integer sorting algorithms. The algorithms are visualized in real time and augmented with sound effects, which are based on the values being compared. Animation speed and sound sustain can be customized while the algorithm is running. The visualization also highlights the algorithm's internal workings, which makes the demo program very useful for teaching sorting algorithms in an undergraduate computer science course. The program also counts the number of comparisons done by an algorithm, which can then be compared to the analytically derived value. The demo is implemented using the cross-platform toolkits wxWidgets and SDL, and can be executed on Windows, Linux, and Mac.

Operating Systems

RSS Recent releases

  •  26 Nov 2013 22:33

Release Notes: New sorting algorithms: TimSort, StoogeSort, and Slowsort. Renaming an array from a to A for easier reading and matching to SoS-Cheatsheet. Fixes compilation with older compilers and on Mac OS X. Adds a random algorithm button.

  •  02 Jun 2013 22:37

Release Notes: Initial public version.


Project Spotlight

TAO Translator

An online translator with some advanced features.


Project Spotlight


A cluster operating system.