Maybe i was not clear, the data is stored in an ASCII file and i read it from there. What i am interesting are the 4 fields (Name, FileIndex, Time and JD). This data i use in order to generate new ASCII files. I would like to know how should i store it in Perl in order to be able to do sorting...