That's only the case if major, minor, and patch are less than 10. Otherwise, lexicographic is not equal to numeric.