Currently VS has a very useful feature: sort usings (C#).
I want the same functionality for any random text, for example - XML nodes in config files.
How com
You can copy the code into Sublime Text, select the section of code and hit F9 (or go to Edit > Sort Lines). You can then copy it back into Visual Studio.