We really need to get away from using the term “gender” when we mean “sex”.  Word confusion is part of the reason why we are in this sad state.