in reply to
Sample Sort Code
consider just using (unix command line) sort (also freely available for Windows):
sort -k1,2 -k5 file_in.txt >file_out.txt
[download]
Comment on
Re: Sample Sort Code
Download
Code
In Section
Seekers of Perl Wisdom