"How did it survive the natural selection process of not leaving offspring?"
I read that evolutionists believe that homosexuality had/has a survival advantage for the human race as a whole. The male was usually the hunter, and men hunted in groups. Homosexuality helped bond some of these groups together, and so these men worked more effectively together as a unit. Hence, there was a survival advantage to homosexuality. Hence, more of the groups that contained homosexuals survived than those who did not.
If memory serves me correctly, the Romans encourages homosexuality in their armies. This made the men more united and they fought much better as a unit in battle.
Also, do not forget that homosexuals will have children simply because they want kids. Also, many times a homosexual used to marry and have children to hide their sexual orientation from a society that would condemn them.
Also, if homosexuality is "caused" by recessive genes the recessive genes could be passed for generations before being apparent.
Also, if homosexuality is "caused" by a combinations of genes, these genes may be passed on to succeeding generations because they provide other advantages; only when a certain combination is matched up may homosexuality become apparent.
Also, genetic variation in humans is here to stay. We have gotten so good at surviving that very little is killing us off. Hence, evolution in humans has slowed down. Hence, homosexuals are even less likely today to be "filtered out" by evolution.
I personally think that sexual orientation not just "heterosexual" or "homosexual". I suspect individuals fall into ranges, from very heterosexual to bisexual to very homosexual. I suspect that many individuals find the same sex sexually attractive, but not enough to actually pursue such desires. I know homophobes whom I strongly suspect are gay. I have seen them get quite sexually excited thinking of a member of the same sex, then suddenly "hide" their reaction. And, no, I do not believe that all homophobes are secretly homosexual and ashamed of it.
Lastly, I have written the above in a hurry. If my wording is wrong or not PC, please accept my humble apologizes. No insult or slight against homosexuals is meant. Those of you who from H2O know my views on homosexuality and that I am not anti-gay.
Richard