I'm not gay and I don't much care for whippings. So rum it is.
Sodomy is any sort of sex that isn't penis in vagina. Doesn't have to be gay.
I went on Wikipedia to confirm which it is, and it seemed to imply it's just anal sex between guys.
If I knew it wasn't just that, I probably would've voted for it.
What do you mean "seemed to imply"? Here is the definition from Wiki:
"Sodomy (/ˈsɒdəmi/), refers to anal sex or other non-penile/vaginal copulation-like acts, especially between male persons or between a person and an animal.[1] "
So, sure, it is especially used that way, but it clearly is not limited to that.