Okay, I had to add a new variable (that gets modified by whether you search in threads or posts) and now a much nice sorting code block.
http://dragy.de/public/sphinx/sphinx.php.txt
I tried all four combinations so it must work now!? Did I say this before?
Hmm, about the docinfo, gonna have a look. We're only gifted with 2GB RAM for our forums and in a few months we'll have 2 million posts. Not good. I'll make a note in the installation.