A "natural sort" should fit this bill, so click that link to find several versions (including some rather simple and quite fast implementations).
- tyeIn reply to Re: ip sorting (naturally)
by tye
in thread ip sorting
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |