if ($what=="datejoined") { $orderby="joindate"; $direction="DESC"; }
if ($what=="usertitle") { $orderby="usertitle"; $direction=""; }