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: