You’re in the Danish culture, which treats aa as å and puts it after ø accordingly. You can pass a string comparer that acts differently to OrderBy to change that:
var b = a.OrderBy(o => o, StringComparer.InvariantCulture).ToList();
You’re in the Danish culture, which treats aa as å and puts it after ø accordingly. You can pass a string comparer that acts differently to OrderBy to change that:
var b = a.OrderBy(o => o, StringComparer.InvariantCulture).ToList();