My understanding is that 'sex' is male/female/intersex and 'gender' is how one identifies (according to a set of masculine/feminine/both characteristics).
So why can't we just use the term 'sex' (as in 'I'm finding out the sex of the baby') rather than the incorrect term: 'gender'? Is it prissiness?