Sorted the domains in the bounds' hashmap.