Command.sortOrder Property

Gets or sets the sort order for this command for insertion into toolbars and menus.
 

Property Value

Type: Number
Positive numbers (1, 2, 3...) for insertion at left. Negative (-1, -2, -3...) for insertion at right.