Scientists have found that hundreds of thousands of people worldwide have never had sex, which they linked to a range of common traits.