Sex is a yes or no question. Gender sounds more like, don’t know and the prospects aren’t great.
I strongly reject any efforts - whether from left or right - to make a distinction between sex and gender. It’s just wordplay.