diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-07-27 17:19:08 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-07-27 17:32:58 +0200 |
commit | 37422e891a47f15659356ce75b6f6cce831e0041 (patch) | |
tree | d1e16dfb79a16f13d0fb368fac75fad7a0d27f16 /.gitignore | |
parent | 8199b2ce9a7d36359aedea1ad9dab157134a46c2 (diff) |
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>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions