code: func (m Menu) ByName() Menu {
  	title := func(m1, m2 *MenuEntry) bool {
  		return m1.Name < m2.Name
  	}
  
  	menuEntryBy(title).Sort(m)
  	return m
  }
docs: // ByName sorts the menu by the name defined in the menu configuration.