Re: Sorting and grouping question

2008-05-15 Thread Li, Jialin
On Thu, May 15, 2008 at 12:13 PM, ANJAN PURKAYASTHA < [EMAIL PROTECTED]> wrote: > Hi, > here is a problem I'm working on. It's not PERL-specific, rather it is a > problem in sorting followed by grouping. > Suppose I have a set of lines that have tab-delimited text, thus: > 1 w 3 wer > 2 a

Sorting and grouping question

2008-05-15 Thread ANJAN PURKAYASTHA
Hi, here is a problem I'm working on. It's not PERL-specific, rather it is a problem in sorting followed by grouping. Suppose I have a set of lines that have tab-delimited text, thus: 1 w 3 wer 2 a 4rte 4 w 2weg 6 d 4fhg 5 d 7 dfl 6 w 4 ald 8 a 3 dsl I would