Sex is a matter of biology, while gender is a matter of grammar, and there is no earthly reason why sex should be involved in gender distinctions.
R.L. Trask, Language: The Basics
educational, grammar, language