Using 'gender' as a euphemism for 'sex' is a very dated locution, and problematic in a bunch of ways, but most relevantly because the two terms don't have the same meaning. At all.
Thanks, that's WAY more thought than I gave it when I used the word "gender", lol. I'll go to my room...
Rudeness is the weak man's imitation of strength. Eric Hoffer(1902 - 1983)
“The greatness of a nation and its moral progress can be judged by the way its animals are treated.” ~ Gandhi