fix(core): MenuBuilder sortByName should use strnatcmp

Just as MenuBuilder sortByText, the sortByName function should use
strnatcmp instead of strcmp

fixes #5569

* [ ] remove whitespace from doc block
* [ ] use "menus" as component instead of "core"