sort domain records