From badcdd3c316592661b56809b47d4077346ca47d3 Mon Sep 17 00:00:00 2001 From: Devin Bidwell Date: Sat, 20 Dec 2025 17:47:35 -0700 Subject: [PATCH] Removed unneeded array sort --- csharp_mod/Formatter.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/csharp_mod/Formatter.cs b/csharp_mod/Formatter.cs index 23831cc..79cdbd8 100644 --- a/csharp_mod/Formatter.cs +++ b/csharp_mod/Formatter.cs @@ -206,8 +206,6 @@ public class SlangFormatter : ICodeFormatter entry.SlangSource.StartLine == caretPos || entry.SlangSource.EndLine == caretPos ); - lines.Sort((itemA, itemB) => itemA.Ic10Line.CompareTo(itemB.Ic10Line)); - // extract the current "context" of the ic10 compilation. The current Slang source line // should be directly next to the compiled IC10 source line, and we should highlight the // IC10 code that directly represents the Slang source