fixed paging with unsorted results