group hosts by tags,