Yes, its actually going back to sort.php when a new column is selected. Each column heading should be
http://sort.php?col=the name&order=asc, and it does display like this on the second click, but on that first click the heading takes the form back to sort.php. Its funny. I'll keep playing with it, i'm sure it will work itself out sooner or later :)

Again, thank you so much for all your help. You're a blessing.