https://learn.microsoft.com/ja-jp/dotnet/api/system.string.compareordinal?view=netframework-4.8.1&viewFallbackFrom=net-7.0
String.CompareOrdinal Method (System) | Microsoft Learn
Compares two String objects by evaluating the numeric values of the corresponding Char objects in each string.
stringmethodsystemmicrosoftlearn