In gonochoristic organisms, congenital conditions in which development of chromosomal, gonadal, or anatomical sex is atypical. Effects from exposure to abnormal levels of gonadal hormones in the maternal environment, or disruption of the function of those hormones by endocrine disruptors are included.