CsvEdit icon indicating copy to clipboard operation
CsvEdit copied to clipboard

Sorting by column does not seem to work

Open difflaender opened this issue 3 years ago • 0 comments

We are using Eclipse 2021-06. No matter what column I sort by, the rows don't seem to follow any logical order (neither lexicographic nor numeric).

This, for example, is not sorted (but still different from when I turn off sorting entirely for that column): NotSorted

Looking at the code with current dependencies, the ViewerSorter that CSVTableSorter extends is marked as deprecated. The method TableViewer.setSorter() is deprecated as well. So perhaps the table API has changed and is not using the current sorter implementation anymore. According to the documentation the replacement is setComparator(ViewerComparator).

difflaender avatar Jul 09 '21 15:07 difflaender