diff --git a/Source/Editor/CustomEditors/Editors/GenericEditor.cs b/Source/Editor/CustomEditors/Editors/GenericEditor.cs index f624600b4..1eb1c5f90 100644 --- a/Source/Editor/CustomEditors/Editors/GenericEditor.cs +++ b/Source/Editor/CustomEditors/Editors/GenericEditor.cs @@ -178,6 +178,8 @@ namespace FlaxEditor.CustomEditors.Editors return 1; if (Info.MetadataToken < other.Info.MetadataToken) return -1; + // Keep declaration order if same metadata token. + return 0; } // By name