Hi Ken, You know my first sort code that I found was from Extended Quick Basic. (PDS7) PDS7 had a swap command. It saved a couple of lines of code and there was no need for the temporary variables. Well actually that was the second code that I found as I am using the sort routine in the game that I am currently working on, but the variable that it is sorting is a multi dimension array inside another array. Which is actually just the players five card values and suits which is actually just a number 1 to 52 of a shuffled deck of cards.
But anyway, I hope that the code worked for you. BFN Jim I like Visual Basic 6.0 because I can not C. j...@kitchensinc.net http://www.kitchensinc.net (440) 286-6920 Chardon Ohio USA --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gamers@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.