imenu--sort-by-name

imenu--sort-by-name is a compiled Lisp function in `imenu.el'.

(imenu--sort-by-name ITEM1 ITEM2)

Comparison function to sort items depending on their index name.
An item looks like (NAME . POSITION).