Comment
Comment by umvi
It should be noted this is a very recent development though. I'm pretty sure if you looked in dictionaries made pre-2000, gender is synonymous with sex and was often the preferred term for biological sex since as GP points out, "sex" also means intercourse. Only in the last 10 years or so has the definition of gender been usurped to have a new distinct meaning to accommodate new social developments.