Yup, I get it. I decided to use QSortFilterProxyModel and that solved my problem.