Hi,
Here is an old answer to your problem from Randy W. Sims.
Hope it will helps.
Perhaps you would have to modify the sort to have an numerical.
Michel S
-Message d'origine-
De: Randy W. Sims [mailto:[EMAIL PROTECTED]
Date: vendredi 23 janvier 2004 10:53
À: Bjorn Van Blanckenberg
Cc:
On Jan 30, Boon Chong Ang said:
>Just say I want to sort the row by using the fifth column data as
>reference from the smallest the largest number
>Abc 12.8 8 "left" 1 1.7
>Dgf 12.3 9 "right" 4 2.6
>bac 12.8 8 "left" 1 3.7
>Def 13.8 9 "top" 0 19.7
>gef 14.8 9 "left" 0 19.7
>etg 12.8 2 "left"
On Fri, Jan 30, 2004 at 01:17:38PM +0800, Boon Chong Ang wrote:
> Just say I want to sort the row by using the fifth column data as
> reference from the smallest the largest number, if using sort,
In perldoc -f sort:
sort SUBNAME LIST
sort BLOCK LIST
so you need to either write a sub