Incorrect sorting strings with a dash
Incorrect sorting strings with a dash
maryPo
Posts: 11Questions: 4Answers: 0
Hi!I found an error in sorting. string of "1-1" is considered larger than a string "123-1", but less than "12-1". example here http://jsfiddle.net/Ly6v4qb2/
The second column is sorted correctly when you press, and the first is not.
This discussion has been closed.
Answers
You might wish to try the "natural sorting" plug-in. It has enabled me to deal with several such contexts.