Keep sorting values with pagination in the data list