Re: Sorting an array based on hash values

2002-06-20 Thread Jeff 'japhy' Pinyan
On Jun 20, Kevin Old said: >I have a hash with the key being the field name and the value being the >order in which the field is to be displayed.like below: > >%order = ( > DATE => '1', > CPP => '2', > ESN => '3', > BTS => '4' > ); > >I'm receiving an array t

Sorting an array based on hash values

2002-06-20 Thread Kevin Old
Hello all, I have a hash with the key being the field name and the value being the order in which the field is to be displayed.like below: %order = ( DATE => '1', CPP => '2', ESN => '3', BTS => '4' ); I'm receiving an array that would look somethi