That is what I thought it was.. but I was corrected.
Under common law sodomy was defined as anal intercourse. Over the years the legal definition changed, probably to make the butt buffers happy. The homo’s used the Privacy argument that SCOTUS used to legalize abortion. It eventually worked as the states started legalizing sodomy.
https://legal-dictionary.thefreedictionary.com/sodomy