Thank you for explaining that bit. Is the book in English? Pardon me for being an ignorant Canadian. What I'm looking for is a link to an explanation of the various sorting algorithms, or just an explanation. I really don't want to go out and buy a book over this one little problem, and odds are, I can't even get a hold of that book around here (Manitoba) anyhow. But thanks anyways, and can someone please point me to the aforementioned explanation/example or provide it here?