/// <summary> /// Extension method to do naturals string comparasion. /// </summary> /// <param name="a">A.</param> /// <param name="b">The b.</param> /// <returns></returns> public static int NaturalCompareTo(this string a, string b) { return(ShellApiNativeMethods.StrCmpLogicalW(a, b)); }
public int Compare(string a, string b) { return(ShellApiNativeMethods.StrCmpLogicalW(a, b)); }