Hi,

I have a QSqlQueryModel I do a SELECT on a table with more than 1000 records and apply a QTableView.
When using a QSortFilterProxyModel to sort by fields, only the records that are currently in QTableView are ordered (more or less about 300).
Example, if I have a list of customers from A to Z, by clicking on the "name" to sort in descending order, they order from F to A. It's bug in QT?
Will require reimplementation QSqlQueryModel::sort( ) and back using the SQL ORDER BY clause?

Thank,

Marcelo E. Geyer