Certainly the Constitution does not require discrimination on the basis of sex. The only issue is whether it prohibits it. It doesn't.