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>
parent
c7b7b42c
Please register or sign in to comment
Ensure that sort callbacks consistently return [-N .. 0 .. +N] values
instead of just true/false.
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>