small modifications to support 2 things. 1) fetching domains parameters along with the domains. 2) ordering the list of domain parameters by name in the view.