One order mandates that the federal government recognize male and female as the only two sexes and defines them based on whether people are born with eggs or sperm.