add test for sort check on hospital