Modify read_data module. Add sort and remove duplicate values in transaction.