mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[NaturalComparer] Case management
This commit is contained in:
@@ -35,9 +35,9 @@ namespace NaturalSort
|
||||
|
||||
public override int Compare(string x, string y)
|
||||
{
|
||||
if (x == y)
|
||||
if (y.ToLowerInvariant() == x.ToLowerInvariant())
|
||||
{
|
||||
return 0;
|
||||
return y.CompareTo(x);
|
||||
}
|
||||
string[] x1, y1;
|
||||
if (!table.TryGetValue(x, out x1))
|
||||
|
||||
Reference in New Issue
Block a user