ref
late 19th century: from homo- ‘same’ + sexual.
From homosexual + -ity or homo- + sexuality (late 19th century)
homosexuality (n.)
1892; see homosexual + -ity.