It can work from an evolutionary standpoint.
Certain types of birds will support their superior siblings(superior in the sense of the most fit to survive), if that bird recognizes their siblings are superior, to help their sibling pass on their genes. Since the siblings share the same genes, even if only one is actually breeding, both still have their genes passed on. It would put the energy of the inferior sibling to waste since that sibling would be less likely to pass on genes directly, but if that sibling supports the superior sibling then the energy is less wasted.
Similar things happen in wolf packs. Only the alphas mate, both the alpha male and alpha female, reproduce. All the others, the siblings, and stray wolves being absorbed into the pack support the alpha males/female pups.
Now think of human tribes. Usually, the one with the best chance to pass on genes directly is the first born male, or possibly just the first born. No surprise then, that the 2nd and 3rd male children that a woman has, has a higher chance of being gay. So the gay brother has the strength of a man, but is not a competitor to the first born male son. This allows the gay brother to support his straight brother, and that will help his genes to be passed on indirectly.
With all of that being said, your second and third brothers are still more likely to be straight than gay. The study I read did not state whether or not if the more children a woman had the more it increased the chance of the later children to be gay, only that after the first born, the next had a greater likelihood.