Then you're in luck! Take a look at http://www.4guysfromrolla.com/demos/bubblesort.asp for an excellent start. Hope I helped, Shanx --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.265 / Virus Database: 137 - Release Date: 18-Jul-01