Sort breaks when repeating it several times
Closed this issue · 2 comments
jheeffer commented
Hi!
I use Sublime Text 2.0.2 on Windows 10. I just installed Text-Advanced-CSV, great tool, no bullshit csv editing!
However I had this file open:
I was playing around a bit and wanted to sort it. My sort turned out in a random order instead of sorted.
I tested a bit and:
- When freshly opening the file, you have to sort up and down a bit before the bug shows up, sometimes repeat the same sort order twice
- Erroneous seemingly "Random" sort order is the same every time
wadetb commented
Thanks for the report! I was able to reproduce unexpected sorting behavior with the file you uploaded.
My theory is that after the sort, the cursor is sometimes moved to another column, and so the subsequent sort is based upon different data.
When testing, I find that the random sorting behavior does not occur if I click the mouse on the first column after each sort command. Is this the case for you as well?
wadetb commented
Fixed in latest release.