} else if (sortParameter.equals("building")) {
Collections.sort(availableRooms, new BeanComparator("edificio"));
} else if (sortParameter.equals("floor")) {
Collections.sort(availableRooms, new BeanComparator("piso"));
} else if (sortParameter.equals("normal")) {
Collections.sort(availableRooms, new ReverseComparator(new BeanComparator("capacidadeNormal")));
} else if (sortParameter.equals("exam")) {
Collections.sort(availableRooms, new ReverseComparator(new BeanComparator("capacidadeExame")));
}
} else {
Collections.sort(availableRooms, new BeanComparator("nome"));
}