Hello all,

 I am in dire need of a perl sub to take an array of fields and sort it
based one of the fields in either ascending or descending. something
like

@array =  &sortarray(@array, $field_no,$ASC_DESC);

where $field_no is the field number to be sorted.

Idealistically the array starts unsorted and is then returned sorted. I
have been working on this for some time and I think it's time I asked
for help. Any assistance will be greatly appreciated!!!

Or if there is way to do this to a 'pipe' delimited file that would help

as well.

Miguel

--
 Work like you don't need the money.
 Love like you've never been hurt.
 Dance like nobody's watching.

begin:vcard 
n:Munoz;Miguel
tel;work:(650) 943-7398
x-mozilla-html:TRUE
org:Acuson Corp.;World Wide Information Technology
version:2.1
email;internet:[EMAIL PROTECTED]
title:Sr. Busness Systems Programmer Analyst
adr;quoted-printable:;;M-2=0D=0A1220 Charlleston Rd.=0D=0A;Mt. View;Ca;94039;USA
fn:Miguel Munoz
end:vcard

Reply via email to