From eb3062df3b0d25fab77a3104efa2194026cdd510 Mon Sep 17 00:00:00 2001 From: rkodev <43806892+rkodev@users.noreply.github.com> Date: Wed, 20 Sep 2023 17:12:20 +0300 Subject: [PATCH] Order items --- src/Kiota.Builder/CodeDOM/CodeFile.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kiota.Builder/CodeDOM/CodeFile.cs b/src/Kiota.Builder/CodeDOM/CodeFile.cs index 9b52d59d7a..5e8e7757a9 100644 --- a/src/Kiota.Builder/CodeDOM/CodeFile.cs +++ b/src/Kiota.Builder/CodeDOM/CodeFile.cs @@ -6,7 +6,7 @@ namespace Kiota.Builder.CodeDOM; public class CodeFile : CodeBlock { - public IEnumerable Interfaces => InnerChildElements.Values.OfType(); + public IEnumerable Interfaces => InnerChildElements.Values.OfType().OrderBy(static x => x.Name); public IEnumerable AddElements(params T[] elements) where T : CodeElement {