From 6a1d9b13fa42ae1ed8156088ced29903d9676dd4 Mon Sep 17 00:00:00 2001 From: "H. Utku Maden" Date: Fri, 30 Aug 2024 19:56:42 +0300 Subject: [PATCH] Fix sorting. --- ReMime.ReFile/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReMime.ReFile/Program.cs b/ReMime.ReFile/Program.cs index 4499e43..1a581b4 100644 --- a/ReMime.ReFile/Program.cs +++ b/ReMime.ReFile/Program.cs @@ -50,7 +50,7 @@ namespace ReMime.Cli private static void ListTypes() { var list = MediaTypeResolver.KnownTypes.ToList(); - list.Sort(); + list.Sort((a,b) => StringComparer.InvariantCulture.Compare(a.FullType, b.FullType)); foreach (MediaType type in list) {