updated code to render permissions list order by ascending

-- Query is modified to get the permissions list order by name--
-