Got AJAX pagination kinda working. If you sort twice it breaks. Pushing for now.