Order clips in ycd files alphabetically to improve readability for synched scene style dicts and general consistency

This commit is contained in:
Lucas7yoshi 2023-08-08 19:08:39 -04:00
parent 9d76f2c6c4
commit 8a30134c52

View File

@ -138,7 +138,7 @@ namespace CodeWalker.Forms
if (ycd?.ClipMapEntries != null)
{
foreach (var cme in ycd.ClipMapEntries)
foreach (var cme in ycd.ClipMapEntries.OrderBy(x => x.Clip?.ShortName ?? x.Hash.ToString())
{
if (cme != null)
{