Sorting and Pages Working, Search Not