Sort rooms by group