These questions go away if one is careful with vocabulary. "Gay, bi, & straight," as colloquial terms for "homosexual, bisexual, & heterosexual," refer to what people a person is generally attracted to. These terms are generalised categories that don't fully describe the variety of sexual attraction.
The four behaviours you mention are that--behaviours, or activities. They may bring pleasure and/or revulsion, but they are things people do. Psychologically "straight" men can experience pleasure when their prostate is stimulated by a dildo, a strap-on, or a penis in their rectum (as we find in lots of "gay" porn). Having said that, many such men can have a socially-conditioned dislike of those activities. (Putting this in colloquial language, a guy can enjoy getting fucked in the ass regardless of whether he's gay or straight.) Similarly, psychologically "gay" men can experience pleasure when their penis is stimulated inside a vagina.
As for "sodomy:" This is a legal term, but there is no crisp definition. The traditional definition in law is "unnatural sexual connection." This has been fine-tuned a bit in recent decades to "oral or anal copulation between humans, especially those of the same sex." (Note that this definition would cover oral sex between a married male-female couple. People are often surprised at this.) In the US, sodomy (however it is defined) cannot be prosecuted if performed by consenting adults in private. (See Lawrence v. Texas, 539 U.S. 558 (2003])
Is heterosexual sex outside of marriage sodomy?
Is heterosexual sex which employs contraceptives, sodomy?
If one considers these activities to be "unnatural," then they would be sodomy. Few prosecutors would follow that path.
(It is worth noting that extra-marital sexual activity is not criminalised in Europe or Canada, but is a felony is some US states. It is rarely prosecuted.)