The ordinance prohibited discrimination on the basis of both sex and gender identity.