You’re looking to mock ‘gender’, how people choose to view their natural state. Sex is the biologically based one, which includes male, female, and a couple other ones such as intersex.
Disclaimer: I’m only about 80% sure of this comment, but thought it would be helpful to make the distinction known.