[futurebasic] Sorting IP Numbers

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2002 : Group Archive : Group : All Groups

From: Michael Evans <evansmichael@...>
Date: Wed, 22 May 2002 20:13:16 -0400
Hello All:

I would like to sort a string array of IP numbers. Using a standard sort
won't work...

One method might be to convert the string to a long, sort the longs and
convert the longs back to strings.

I'm a little worried about performance....

Any ideas or hints cheerfully accepted...


Cheers,

----------------------------------------------------------------------------
Michael Evans
3301 Wood Valley Road, NW * Atlanta, GA, 30327-1515
Voice: (404) 846-9386 * Cell: (404) 229-3930 * Fax: (404) 240-0878
E-mail: <evansmichael@...>
----------------------------------------------------------------------------