There's no such thing as homosexual sex and heterosexual sex.
Sexual intercourse is penis>vagina with the potential of creating offspring.
"Anal sex" is penis>anus to make semen, in other words, mutual masturbation. People don't have sex in someone's butt I'm afraid, it's just masturbation ie, purely to make them ejaculate, and not to create offspring.
Unless someone's aim of anal is honestly to have a child then they've deluded themselves into thinking they're having some sort of sex but they're really just getting masturbated.
There's no such thing as mouthsex, or handsex, so why would you think there are things such as analsex and homosex and "non-reproductive-sex"? It's only because an anus is the closest hole anatomically to the sexual-intercourse-enabling vagina and someone stuck it in there and called it sex because it's just a few inches away. Heck if someone's nose was in their crotch you could be sure some idiot would stick his knob in it and call it nasalsex.
Therefore if you're rubbing your todger on anything that isn't the inside of a vagina for the purposes of ejaculation, it's not really sex, it's masturbation.
The term "anal sex" and "homosexual sex" is just a perversion of the English language because I'm sure homosexuals obviously want to have sex too, and it goes hand in hand with the perverse nature of human sexuality.