update of user index.php with the sql statement
update to coursecatlib to improve user sql
Trying to get the ordering working on the user edit page.