sort the data updated