make sort, order and page results ajax