add dynamic data to page and sorting