ce icon indicating copy to clipboard operation
ce copied to clipboard

Sorting issue with 0 value rows

Open bilencekic opened this issue 7 years ago • 1 comments

I noticed an issue, during sorting if a value is 0. My case it is 0.00 ( i changed below condition result to 6 to see which condition is causing the issue) Sort issue I noticed when it is zero, in the first condition statement was returning without checking if smaller or bigger. Actually it was treating it as '' only and this was leading to zero values not being sorted correctly.

same issue you can find here, change some cells to zero and sort https://bossanova.uk/jexcel/v3/examples/sorting

I added typeof check to make it correct; Sort issue now my sorting is working fine. Is that approach correct ? Thank you.

bilencekic avatar Oct 21 '19 03:10 bilencekic

This error has been resolved on v4

Ruan-Miguel avatar Dec 20 '24 17:12 Ruan-Miguel