UHM-1267: Layout changes for the Daily Appointments page
fixed sorting to work properly with pagination