Perl module to sort lines containing delimited fields