Marriage market and labor market sorting