in reply to sort @array help

Take a look at Sorting ip addresses quicker . This has been talked about here.

Mick