hotfix table sorter to update state when receiving new props