Skip to content

Commit

Permalink
Change firmware list presentation to assending
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianstevens committed Apr 30, 2024
1 parent 4200712 commit 04fe790
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private async Task DisplayVerboseResults(FileManager manager)
Logger?.LogInformation($" {name}");
var collection = manager.Firmware[name];

foreach (var package in collection.OrderByDescending(p => new Version(p.Version)))
foreach (var package in collection.OrderBy(p => new Version(p.Version)))
{
if (package == collection.DefaultPackage)
{
Expand Down Expand Up @@ -88,7 +88,7 @@ private async Task DisplayTerseResults(FileManager manager)
Logger?.LogInformation($" {name}");
var collection = manager.Firmware[name];

foreach (var package in collection.OrderByDescending(p => new Version(p.Version)))
foreach (var package in collection.OrderBy(p => new Version(p.Version)))
{
if (package == collection.DefaultPackage)
{
Expand Down

0 comments on commit 04fe790

Please sign in to comment.