@PawelK Yea its a well known fact in biology and the distinction goes back quite a way.
Gender is your outward appearance, its things like the tone of your voice, facial hair, genitals, breasts, strength, and even mental tendencies (like women having a stronger compulsion to care for offspring).
Sex on the other hand is limited to your genetics.