def core__get_menu
      lato_modules = core__get_modules_list
      # create list of menu items
      menu = []
      lato_modules.each do |lato_module_name|
        module_menu = core__get_menu_for_module(lato_module_name)
        menu = menu + module_menu if module_menu
      end
      # sort items and return them
      menu = menu.sort_by {|menu_item| [menu_item[:position], menu_item[:title]]}
      return menu
    end
def core__get_menu
      lato_modules = core__get_modules_list
      # create list of menu items
      menu = []
      lato_modules.each do |lato_module_name|
        module_menu = core__get_menu_for_module(lato_module_name)
        menu = menu + module_menu if module_menu
      end
      # sort items and return them
      menu = menu.sort_by {|menu_item| [menu_item[:position], menu_item[:title]]}
      return menu
    end
Menu:
 This function returns the list of the items for the menu.