back to C++ models and usage of a sortfilterproxymodel