Added sorting of commands before displaying help.