Compares two strings and returns 0, 1, or -1.
naturalCompare(a, b);
a string, string to compare
b string, string to compare
Compare strings containing a mix of letters and numbers in the way a human being would in sort order. This is described as a "natural ordering". Can be used For example returns

User Comments

comments powered by Disqus