manugarg/pagenotes-issues

Erratic sorting by Notes column

martinprikryl opened this issue · 1 comments

With some specific contents of Notes, sorting by Notes column on All Notes view behaves erratically.
This is example of Notes that can be used to reproduce the problem: pagenotes.csv

When I sort by Notes column the first time, no sorting happens (only the sorting arrow at the heading changes):
image

When I click the Notes heading the second time, the list order is reversed, but it is still not sorted (at least not by any criteria I can identify):
image

When I click the Notes heading the third time, nothing happens (except for reverting the direction of the arrow):
image

When I click the Notes heading the fourth time, I get back to the first state.

Interestingly, when I remove dashes from the Notes ("20220125 aaa", etc), the sorting works as expected.

I've tried it with various Regional settings in Windows (including US English), but it does not seem affect the behavior.

Thanks for looking into this. And mainly thanks for the extension!