added sort option for commands

added few lines to allow sorting of command options in usage