fix(core): MenuBuilder sortByName should use strnatcmp

Just as MenuBuilder sortByText, the sortByName function should use
strnatcmp instead of strcmp

fixes #5569
Merge remote-tracking branch 'remotes/upstream/pr/6502' into commit_validation