TableView tracks an ObservableList and also allows sorting on columns. But it does not maintain the selected sort order when the list changes.
The attached test case can be used to demonstrate this. You can choose to sort on the "Number" column and press the button to add more items.
The attached test case can be used to demonstrate this. You can choose to sort on the "Number" column and press the button to add more items.