From 8a30134c52ba9d9d6851ebdb164e5b76d5b1cd1e Mon Sep 17 00:00:00 2001 From: Lucas7yoshi Date: Tue, 8 Aug 2023 19:08:39 -0400 Subject: [PATCH] Order clips in ycd files alphabetically to improve readability for synched scene style dicts and general consistency --- CodeWalker/Forms/YcdForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeWalker/Forms/YcdForm.cs b/CodeWalker/Forms/YcdForm.cs index 7fcba15..39a941b 100644 --- a/CodeWalker/Forms/YcdForm.cs +++ b/CodeWalker/Forms/YcdForm.cs @@ -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) {