diff -Naur trunk/web/lib/pkgfuncs.inc newtrunk/web/lib/pkgfuncs.inc --- trunk/web/lib/pkgfuncs.inc 2006-03-26 03:26:20.000000000 -0500 +++ newtrunk/web/lib/pkgfuncs.inc 2006-04-21 03:20:24.000000000 -0400 @@ -877,6 +877,9 @@ case 'a': $q.= "ORDER BY GREATEST(SubmittedTS,ModifiedTS) ".$order.", Name ASC, LocationID ASC "; break; + case 'f': + $q.= "ORDER BY Safe ".$order.", Name ASC, CategoryID DESC "; + break; default: $q.= "ORDER BY Name ".$order.", LocationID ASC, CategoryID DESC "; break; @@ -974,7 +977,9 @@ print "