in reply to sort @array help

Sorting IP addresses is the canonical example of a Packed Default sort that Uri Guttmann and Larry Rosler gave in their paper on sorting in Perl. It's online at

http://www.hpl.hp.com/personal/Larry_Rosler/sort/

--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me