luci-app-attendedsysupgrade: sort latest version array
authorEric Fahlgren <ericfahlgren@gmail.com>
Thu, 23 Jan 2025 23:15:23 +0000 (15:15 -0800)
committerHannu Nyman <hannu.nyman@iki.fi>
Fri, 24 Jan 2025 05:10:00 +0000 (07:10 +0200)
commit2c7b18b0f6fc04eb4005a7b8cc9d5051b27b7100
tree1a7e66dc205a96dde46a4637ec398e24ab87c3fc
parent8ae000890910ff0ebaa840390aac24d9ed399ab7
luci-app-attendedsysupgrade: sort latest version array

The Attended Sysupgrade app requires that the array of latest
versions be in order from newest release to oldest.  Ensure that
this is true even when upstream presents them in arbitrary order.

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js