added sorting to options, subcommands formatting
min