({{, (RefLink[MenuSortingValue, paclet:ref/MenuSortingValue]) 
is an option for cells and notebooks that specifies where a cell style, stylesheet, or palette is listed in the (MenuGrayLink[Format ▶ Style, paclet:ref/menuitem/Style]) submenu, (MenuGrayLink[Format ▶ Stylesheet, paclet:ref/menuitem/Stylesheet]) submenu, or (MenuGrayLink[Palettes, paclet:guide/PalettesMenu]) menu respectively.}})

OpenersNotesSection(Spacer1)Details

(RefLink[MenuSortingValue, paclet:ref/MenuSortingValue]) takes an integer from 0 to 32000, or the value (RefLink[None, paclet:ref/None]).

Lower values of (RefLink[MenuSortingValue, paclet:ref/MenuSortingValue]) result in a positioning closer to the beginning of the menu.

Items which have equivalent (RefLink[MenuSortingValue, paclet:ref/MenuSortingValue]) values will be alphabetized.

In some menus, groups of items with different (RefLink[MenuSortingValue, paclet:ref/MenuSortingValue]) values will automatically have a (RefLink[Delimiter, paclet:ref/Delimiter]) introduced between them.

(RefLink[MenuSortingValue, paclet:ref/MenuSortingValue]) applied to a (RefLink[StyleData, paclet:ref/StyleData]) cell determines where that style will appear in the (MenuGrayLink[Format ▶ Style, paclet:ref/menuitem/Style]) menu.

A (RefLink[MenuSortingValue, paclet:ref/MenuSortingValue]) applied to a (RefLink[StyleData, paclet:ref/StyleData]) cell is not inherited by styles which inherit from that style, unlike most other (RefLink[StyleData, paclet:ref/StyleData]) options.

The built-in Wolfram System reserved range is 1000-2000.

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Create a style definition for the cell style "MyTitle" with a (RefLink[MenuSortingValue, paclet:ref/MenuSortingValue]) of 2010 and reformat the cell:

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[MenuCommandKey, paclet:ref/MenuCommandKey])  ▪  (RefLink[StyleData, paclet:ref/StyleData])}})}})