How will teachers decide how students should be separated by gender when necessary?

Schools are reducing or eliminating the practice of separating students by gender (e.g., recess, choral groupings, physical education, etc.).