I'm currently using the wpreviewsite ratings script on my site which changes the default WordPress sort order to show the highest rated posts first.
I'd like to be able to add some links to the top of my category, search and tag results pages to allow users to sort posts by either rating, date, alphabetically or number of comments. I'd like to do this with links, not a dropdown and have the links toggle the results asc/desc each time they are clicked so I end up with:
Sort by Rating | Date | Alphabetically | No. of Comments
Sort by rating (highest first) would remain as the default