luci-base: ui.js: order menu entries with the same weight by name
authorJo-Philipp Wich <jo@mein.io>
Fri, 3 Jul 2020 12:30:30 +0000 (14:30 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 4 Jul 2020 22:53:09 +0000 (00:53 +0200)
commit01058512352f49546e38765c01cf317898ef771d
tree2559cf20d75c2285bbc357b61ef425c1a522a768
parentb573f106a1f10b8d728bce759ad1f5e7829864ed
luci-base: ui.js: order menu entries with the same weight by name

The previous server side menu rendering ordered items first by their order
weight value, then by their internal name.

Do the same for client side menu rendering.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 0c479891ae31bbe308c4d6e181c118ec3d65c05f)
modules/luci-base/htdocs/luci-static/resources/ui.js