mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Change location of key sort for output
This commit is contained in:
@@ -5623,6 +5623,10 @@ namespace SabreTools.Helper.Dats
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
// Get a properly sorted set of keys
|
||||||
|
List<string> keys = Files.Keys.ToList();
|
||||||
|
keys.Sort(new NaturalComparer());
|
||||||
|
|
||||||
foreach (DatFormat datFormat in outfiles.Keys)
|
foreach (DatFormat datFormat in outfiles.Keys)
|
||||||
{
|
{
|
||||||
string outfile = outfiles[datFormat];
|
string outfile = outfiles[datFormat];
|
||||||
@@ -5639,10 +5643,6 @@ namespace SabreTools.Helper.Dats
|
|||||||
string lastgame = null;
|
string lastgame = null;
|
||||||
List<string> splitpath = new List<string>();
|
List<string> splitpath = new List<string>();
|
||||||
|
|
||||||
// Get a properly sorted set of keys
|
|
||||||
List<string> keys = Files.Keys.ToList();
|
|
||||||
keys.Sort(new NaturalComparer());
|
|
||||||
|
|
||||||
foreach (string key in keys)
|
foreach (string key in keys)
|
||||||
{
|
{
|
||||||
List<DatItem> roms = Files[key];
|
List<DatItem> roms = Files[key];
|
||||||
|
|||||||
Reference in New Issue
Block a user