From: Jim H. <ha...@us...> - 2002-06-29 14:48:28
|
From the Camel: sub numerically { $a <=> $b; } @sortedbynumber = sort numerically 53,29,11,32,7; --Jim Harle On Thu, 27 Jun 2002, Roland Schulz wrote: > Hey, > > how can I sort by the numerical value (e.g. by uid) instead of by the string. > So I want 1000 to be greater than 200. > > Please CC to me since I'm not on the list. Thanx for you help. > > regards > Roland Schulz > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Caffeinated soap. No kidding. > http://thinkgeek.com/sf > |