[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Sorting



Hallo,

I have a tab-delimited file in which results are stored from
a form. Works fine.

But now I want to read this file (it has several fields) in an
array, and sort by let say field1, then by field2, then field3.
The entries are numeric (integer).

BTW. If I have three values for day, month and year each, can
I treat a date as ONE variable (and then sort on that date) ?

Can someone help me a bit ?


Nico Rozendaal,
University of Maastricht,
Dept.of Psychiatry and Neuropsychology,
Maastricht,
The Netherlands.

(nico.rozendaal@np.rulimburg.nl)