There is also the issue of how jobs are valued depending upon which sex is doing them. (A recent thread on here).
When teaching was male dominated, it was considered one of the professiona (like a lawyer, doctor) and it was paid well. Over the last five or six decades it has become a female dominated area - is valued less and paid less.
In a supermarket for instance the checkout person (often female), who has to learn the technology, is generally paid less than the male shelf stacker, despite it being intellectually easier, due to his superior strength.
I can't recall which country this was in, but in the fishing industry, when the men were making the nets and the women were doing the fishing, the net making was considered a prized skill and paid more. Gradually as that switched and the women made the nets and the men did the fishing, the fishing was paid more. As soon as the job is done predominantly by a man, it has a higher value.
Typing was originally done by men, and paid accordingly, as it was considered a job which required stamina. As soon as women dominated, it became a lesser job. The same with computer coding. Originally it was done by women, as it was considered a job which required dexterity and an attention to detail. As soon as men started to dominate the pay went up, it became valued more.
I'll try and find the thread with all the links.