show categoies in alphabetic order

Show categories in alphabetic order by modifying the SQL query.