private void copyCurrentFilterData() {
		TableData<T> currentFilteredData = getCurrentFilteredData();
		updatedData = currentFilteredData.copy(sourceData); // copy; don't modify the UI's version

		// We are re-using the filtered data, so use too its sort
		lastSortContext = updatedData.getSortContext();
	}
Work method to filter the data.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/threaded/TableUpdateJob.java