table widget sort of works