luci-app-attendedsysupgrade: sort latest version array
authorEric Fahlgren <[email protected]>
Thu, 23 Jan 2025 23:15:23 +0000 (15:15 -0800)
committerHannu Nyman <[email protected]>
Fri, 24 Jan 2025 05:46:38 +0000 (07:46 +0200)
commitb35df46b8ed5822a4921eda09f0aaa754026af8c
treed585c81470e1033988b5cf12ed4b3035b05da02a
parent2e7e10479ca1e3c9cde53bf14fd4c0b0a7273b54
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 <[email protected]>
(cherry picked from commit 2c7b18b0f6fc04eb4005a7b8cc9d5051b27b7100)
applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js