sort category question list by type then name as suggested in http://moodle.org/bugs/bug.php?op=show&bugid=2045 Also removed a PHP notice
sort category question list by type then name as suggested in http://moodle.org/bugs/bug.php?op=show&bugid=2045
Also removed a PHP notice

dilawar/moodle