Sort with paging in clients