how do we sort the data in file?