Add ordering to disc or book type

This commit is contained in:
Matt Nadareski
2023-07-06 22:50:21 -04:00
parent 7bfe174680
commit 4d520d7d63
2 changed files with 2 additions and 1 deletions

View File

@@ -83,6 +83,7 @@
- UMDs are Sony discs
- Strip colons from Redumper disc key
- Use `HashSet` for disc or book type
- Add ordering to disc or book type
### 2.5 (2023-03-12)

View File

@@ -2675,7 +2675,7 @@ namespace MPF.Modules.DiscImageCreator
// Create the output string
if (discTypeOrBookTypeSet.Any())
discTypeOrBookType = string.Join(", ", discTypeOrBookTypeSet);
discTypeOrBookType = string.Join(", ", discTypeOrBookTypeSet.OrderBy(s => s));
return true;
}