chickadee » natural-sort » natural-string-compare

natural-string-compare STRING1 STRING2procedure

Compares two strings according to natural sort order and returns -1 if STRING1 is smaller than STRING2, 0 if STRING1 is equal to STRING2 and 1 if STRING1 is greater than STRING2.