diff --git a/DiscImageChef.Server/Areas/Admin/Controllers/DeviceStatsController.cs b/DiscImageChef.Server/Areas/Admin/Controllers/DeviceStatsController.cs index 1480a859..456c377e 100644 --- a/DiscImageChef.Server/Areas/Admin/Controllers/DeviceStatsController.cs +++ b/DiscImageChef.Server/Areas/Admin/Controllers/DeviceStatsController.cs @@ -15,7 +15,9 @@ namespace DiscImageChef.Server.Areas.Admin.Controllers public DeviceStatsController(DicServerContext context) => _context = context; // GET: Admin/DeviceStats - public async Task Index() => View(await _context.DeviceStats.ToListAsync()); + public async Task Index() => + View(await _context.DeviceStats.OrderBy(d => d.Manufacturer).ThenBy(d => d.Model).ThenBy(d => d.Bus). + ToListAsync()); // GET: Admin/DeviceStats/Edit/5 public async Task Edit(int? id)