The word gender was actually only relevant to linguistics (masculine feminine or neuter nouns for example) until John money
https://en.wikipedia.org/wiki/John_Money
John money was actually very weird...and he was a pedophile.
but it is a bit ironic. His own ideology would be called sexist today