From b480e36417b7c6300028b03961ef399d637c3e0c Mon Sep 17 00:00:00 2001 From: Ronald K <43806892+rkodev@users.noreply.github.com> Date: Wed, 20 Sep 2023 18:18:11 +0300 Subject: [PATCH] Update src/Kiota.Builder/CodeDOM/CodeFile.cs Co-authored-by: Vincent Biret --- 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 5e8e7757a9..0efd93fb0a 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().OrderBy(static x => x.Name); + public IEnumerable Interfaces => InnerChildElements.Values.OfType().OrderBy(static x => x.Name, StringComparer.Ordinal); public IEnumerable AddElements(params T[] elements) where T : CodeElement {