> Currently the option context-menu-global of context-menu-functions > doesn't take into account the variable menu-bar-final-items > to properly order the menu items. This patch makes it possible > to order the items of global-map instead of menu-bar-current-active-maps > used in menu-bar-keymap by default: Actually, here is a better patch that will also allow sorting items on context-menu-local as well. The same KEYMAP arg of menu-bar-keymap could be used also in mouse-menu-bar-map to sort items of [C-down-mouse-3] in the right order (they were unsorted for a long time):