|
Sure, ifs. Just append what you want to the orderby variable. You can even send it as a separate thangamabobby. Sometimes I make two or more select widgets and offer the HOW as well as the WHAT to sort on. Sometimes I fix it where, when you click on a column heading, it sorts on that column. A second click reverses the ascending/descending modifier. That implies including client-side script, though, and sometimes I don't want to do that.
|