Sorting Programs

Bubble Sort and Insertion Sort. These two programs were written by the Cambridge University "India" Edsac simulator team. The programs perform the bubble sort and insertion sort, respectively. Sixteen words of data are sorted in Long Tank 0, and the CRT monitor shows the sorted data falling place. This enables the two sorting methods to be compared visually. The screen shots show before sorting (left) and after (right).

Download Insertion Sort (hold shift key down): Sort01.txt

Download Bubble Sort (hold shift key down): Sort02.txt

Note: The programs are supplied without comments. The original programs were produced using a local assembler -- the program texts are here: Sorting.pdf