mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[RomTools] Sort by filesystem naming for Sort
This commit is contained in:
@@ -233,9 +233,9 @@ namespace SabreTools.Helper
|
|||||||
{
|
{
|
||||||
if (x.Machine.Name == y.Machine.Name)
|
if (x.Machine.Name == y.Machine.Name)
|
||||||
{
|
{
|
||||||
return String.Compare(x.Name, y.Name);
|
return Style.CompareNumeric(x.Name, y.Name);
|
||||||
}
|
}
|
||||||
return String.Compare(x.Machine.Name, y.Machine.Name);
|
return Style.CompareNumeric(x.Machine.Name, y.Machine.Name);
|
||||||
}
|
}
|
||||||
return (norename ? String.Compare(x.Machine.Name, y.Machine.Name) : x.Metadata.SourceID - y.Metadata.SourceID);
|
return (norename ? String.Compare(x.Machine.Name, y.Machine.Name) : x.Metadata.SourceID - y.Metadata.SourceID);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user