How are roommates paired?

Roommates are paired by gender.