Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
CompareNatural does not compare strings lexically. #1121
Strings are not compared lexically as the docs say they should be.
> math.compareNatural('5', '10') -1 > '5' < '10' false
> math.compareNatural('10/11/2009', '10/12/2008') 1 > '10/11/2009' < '10/12/2008' true
Is this a bug or should we change the docs to say something like