.NET 10 finally fixes what Windows 10 broke ๐Ÿ˜…

by Jun 13, 2025Shorts

.NET 10 finally fixes what Windows 10 broke ๐Ÿ˜…

Numeric string comparison is here! No more Windows 10 showing up before Windows 8.

Weโ€™ve all seen it:

  • Windows 10
  • Windows 11
  • Windows 8

Sorted alphabetically, not logically ๐Ÿคฆ.

.NET 10 to the rescue:

  • "8" < "10" < "11" โ€” as nature intended
  • No more writing your own comparer
  • Episode 10 showing up before Episode 2
  • Level 100 sneaking in above Level 9
  • Iron Man 3 outranking Iron Man 2 (blasphemy)

Itโ€™s a small update. But it ends a decade of developer side-eyes.

Just use the new compare option:

StringComparer.Create(CultureInfo.CurrentCulture, CompareOptions.NumericOrdering);

Which string-sorting bug made you cry the loudest?

Remy van Duijkeren

Remy van Duijkeren

The Marketing Developer

I build automation and integrations that remove the annoying stuffโ€”using Power Platform, Dynamics 365 & Azure.

Get My Thoughts on Automation & Development

Join my personal newsletter and get practical insights on building faster, integrating smarter, and removing friction in IT systems โ€” especially on Power Platform and Dynamics 365.

Related

.NET 10: ZIP it. Smarter.

.NET 10: ZIP it. Smarter. Yes, you could already update entries inside ZIP files before... But now you can do it without rewriting the entire...

read more