sort bed and rooms