Query dormitory order by page or not. The query condition is still need
to be defined.