Sort domaintypes