Fix sorting.

This commit is contained in:
H. Utku Maden 2024-08-30 19:56:42 +03:00
parent 428c94d0af
commit 6a1d9b13fa

@ -50,7 +50,7 @@ namespace ReMime.Cli
private static void ListTypes() private static void ListTypes()
{ {
var list = MediaTypeResolver.KnownTypes.ToList(); var list = MediaTypeResolver.KnownTypes.ToList();
list.Sort(); list.Sort((a,b) => StringComparer.InvariantCulture.Compare(a.FullType, b.FullType));
foreach (MediaType type in list) foreach (MediaType type in list)
{ {