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>
Sat, 12 Jun 2021 17:23:37 +0000 (19:23 +0200)
commit49e25bd03eb2c43eff1c31276da17563eb275a77
tree581e9e9a0a68ba612ebb3e51fa821b651a459037
parent7d7df070c386538229daeff979775b8f321a4d3c
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>
(cherry picked from commit e35041e0a8edcf039d62a74cbc5e0f4043d04029)
modules/luci-base/htdocs/luci-static/resources/network.js