Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Support numeric sort in ByParam #5305
On this method, each value is cast to string so a compare beetwen (int) 9 and (int) 12 gives us 9 result first (instead of 12).
I suggest we do a variant of the above.
With that, I suggest that: If both are numbers, convert both to float64 and compare them.