sex-based classification — Legal Definition, Examples & Cases