luci/modules/luci-base/htdocs
Jo-Philipp Wich 37422e891a luci-base: revise array sorting
Refactor various sort operations throughout luci-base to use the new
L.naturalCompare() comparator function.

This primarily ensures that embedded numbers are sorted numerically and
not in a lexicographical way.

It also simplifies some code as a side effect.

Ref: #5899
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-07-27 17:32:58 +02:00
..
cgi-bin treewide: minor fixes to typos, whitespace, and indentation 2021-01-20 12:36:13 +02:00
luci-static/resources luci-base: revise array sorting 2022-07-27 17:32:58 +02:00