Actually, I ended up using a bubble sort and it works just fine. Also, the sort is inside the program, which makes it system independent too. Thanks for your help. Mindy Bohannon BP Oil