mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-02-04 08:54:40 +00:00
Sort merged hardware by the starting LBA of the first extent
This commit is contained in:
@@ -327,7 +327,8 @@ public sealed partial class Merger
|
||||
EndProgress2?.Invoke();
|
||||
EndProgress?.Invoke();
|
||||
|
||||
return mergedHardware;
|
||||
// Sort results by the starting LBA of the first extent of each hardware
|
||||
return mergedHardware.OrderBy(static hw => hw.Extents?.FirstOrDefault()?.Start ?? 0).ToList();
|
||||
}
|
||||
|
||||
static void AddOrUpdateHardware(List<DumpHardware> mergedHardware, DumpHardware originalHardware, ulong start,
|
||||
|
||||
Reference in New Issue
Block a user