Sort items from largest to smallest after packing

This commit is contained in:
AJ Isaacs
2024-12-09 10:17:06 -05:00
parent 1b2d7a004c
commit 6c719f6ca5

View File

@@ -65,6 +65,8 @@ namespace SawCut.Nesting
count++;
}
bin.Items = bin.Items.OrderByDescending(i => i.Length).ToList();
bins.Add(bin);
}