lucy24 - 9:59 am on Mar 18, 2013 (gmt 0)
Hang on, I've got the RegEx you need.
NOW run your sort/alphabetize function, and then revert:
(I think that's all you need. My original was made for CIDR ranges so the structure was more complicated.)