Sort option names by group in autohelp log output

Change-Id: I83b14f29f585515a88b953023a75e562647eaf03