Paginate working with AJAX

add also table sorter but dosen;t work with pagination
sort only page table