Program Format. Rather than cloud the programs up with endless REM statements which only confuse things, each demonstration program ( B.filename ) will also have a text file associated with it ( T.filename ). The text file will explain all the modifications. Also all the programs will use the same variable names to represent the same functions. For example every program will initially fill an array ' A%(size%) ' with random numbers between 0 and max% . Here size% represents the size of the array minus one ( don't forget element A%(0) ), and max% represents the maximum value that an element within that array can take. All the variable names common to two or more of the programs are listed below, along with an explanation of their function. In the following list n represents any integer ( whole number ) between two set numbers ( usually 0 and maximum value. ) seed% This variable is used to set the random number generator to give the same results every time. This is not to fiddle the results , but so that if I try to explain the results, you have to have the same results that I am explaining. A%(n) Array containing random numbers between 0 and max%. size% is the size of the array. B%(n) Same size array as A%(n). Contains the position in the final sorted list that an element in the array A%(n) occupies. E.G. If B%(3)=0, then A%(3) is at the top of the sorted list.