I have done so in the past with mysql. For instance, "SELECT * from table sort by " . $_GET[sortby];
This has worked fine in older coding...
I'm afraid I don't know enough to modify the rsobj.php file and I've tried adding into the SQL directly and it seems to cause errors.