Re: More custom sorting

2009-05-29 Thread Bryan Harris
Bryan Harris wrote: Let's say I have a bunch of lines of data in an array, @a: car72 car55 truck31 bike2 car12 truck16 van97 car64 ... and I want to sort them so that the trucks are first, then the vans, the bikes are third, cars are next, and everyth

Re: More custom sorting

2009-05-29 Thread Chas. Owens
On Fri, May 29, 2009 at 11:51, John W. Krahn wrote: > Bryan Harris wrote: >> >> Let's say I have a bunch of lines of data in an array, @a: >> >>  car    72 >>  car    55 >>  truck    31 >>  bike    2 >>  car    12 >>  truck    16 >>  van    97 >>  car    64 >> >> ... and I want to sort them so tha

Re: More custom sorting

2009-05-29 Thread John W. Krahn
Bryan Harris wrote: Let's say I have a bunch of lines of data in an array, @a: car72 car55 truck31 bike2 car12 truck16 van97 car64 ... and I want to sort them so that the trucks are first, then the vans, the bikes are third, cars are next, and everythin