CsvEdit
CsvEdit copied to clipboard
Sorting by column does not seem to work
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):
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)
.