imenu--split-submenus

imenu--split-submenus is a compiled Lisp function in `imenu.el'.

(imenu--split-submenus ALIST)

Split up each long alist that are nested within ALIST into nested alists.
Return a split and sorted copy of ALIST. The returned alist DOES
NOT share structure with ALIST.