This simple feature is valuable the few times it's needed. Select lines in your source and sort them alphabetically. Simple and smart.
Access the sort command from the context menu
it to a hotkey if you sort often. Microsoft Visual Studio
users can access the command from the VAssistX
Sorting is done alphabetically only.
Sorting a selection when the last line is only partially selected leaves the last line alone. All lines but the last are sorted.
Sorting a selection at EOF requires the last line to end with EOL if it is to be included in the sort. This is the case when a file in the editor appears to have a blank line at EOF.