luci-base: network.js: sorting fixes
authorJo-Philipp Wich <jo@mein.io>
Wed, 2 Jun 2021 09:54:42 +0000 (11:54 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 3 Jun 2021 07:51:09 +0000 (09:51 +0200)
commite35041e0a8edcf039d62a74cbc5e0f4043d04029
tree286ee5af3cbf9b716baf68c36e47739c55b2fda9
parentc7b7b42cd3840cfd67f412191578a8659eb63c87
luci-base: network.js: sorting fixes

Ensure that sort callbacks consistently return [-N .. 0 .. +N] values
instead of just true/false.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/network.js