now sorting the permissions list in the Permissions fragment