fixes #4112 - cli main commands are now sorted