Make domain critbit functions static
Sort subdomain matches by id