title: QSortFilterProxyModel and dynamicSortFilter property
body: <p>I am using a <code>QSortFilterProxyModel</code> and the <code>dynamicSortFilter</code> property does not work.</p>
  
  <pre><code>// main.cpp
  QSortFilterProxyModel carsProxyModel;
  carsProxyModel.setSourceModel(&amp;carsModel);
  carsProxyModel.setDynamicSortFilter(false); // whatever its true or false, it does not change the behavior
  </code></pre>
  
  <p>On the QML side, i have 2 <code>ListView</code>, one for the source model and one for the proxy and they display the list of cars in the same way.</p>
  
  <p>When the source model is reversed :</p>
  
  <pre><code>// carmodel.cpp
  void CarModel::reverseModel()
  {
      beginResetModel();
      std::reverse(m_carItems.begin(), m_carItems.end());
      endResetModel();
  }
  </code></pre>
  
  <p>Both views shows the reversed list of cars and it is what i expect when the <code>dynamicSortFilter</code> is true but not when its false (<a href="https://doc.qt.io/qt-5/qsortfilterproxymodel.html#dynamicSortFilter-prop" rel="nofollow noreferrer">https://doc.qt.io/qt-5/qsortfilterproxymodel.html#dynamicSortFilter-prop</a>), actually both values always leads to a change in the proxy view.</p>
  
  <p>Maybe i am not using the right property but i cannot see something else so far. </p>
  
  <p>When the source model is reversed - i don't want to see the change in the proxy view, only in the source view. Is this possible ?</p>
  
  <p>Hope this question is clear, i have tried to extract the most important parts because the code base is too long to be posted here.</p>
  
  <p>Thank you.</p>
  
  <p><strong>EDIT :</strong> </p>
  
  <p>A small example : </p>
  
  <p>if the proxy view is sorted by "car brand" (a <code>QString</code>), then reversing the source model will reverse the order of cars with same brand but the sort or filtering is preserved generally (for cars of different brands)</p>