Wow! Thanks Jason - as always!
I've been URL rewriting like that for a good couple of years now. Never had any problems with it until now, but I guess I've never wanted my web pages to sort records before.
Thanks for putting me right. What would I do without you!