Do this to sort your selection in the Visual Studio code editor
Tools->Option->Environment->Keyboard
I reassigned the shortcut for Edit.SortLines from (Shift-Alt-S) to (Ctrl-S Ctrl-S)
(Shift-Alt-S) activates the File menu which can be frustrating and in my case the cause for reassignment
Anything in the selection will be sorted. If you keep invoking the shortcut on the same selection it will sort backwards and forwards until your heart desires.
That's any selection not just Enumerators.