I think the reference is to QTreeView::sortByColumn() but I am still having trouble seeing a problem that needs solving. For example, this works just fine for me;
Qt Code:
  1. #include <QtGui>
  2.  
  3. int main(int argc, char *argv[])
  4. {
  5. QApplication app(argc, argv);
  6.  
  7. QFileSystemModel f;
  8. f.setRootPath("/");
  9.  
  10. proxy.setSourceModel(&f);
  11. proxy.setDynamicSortFilter(true);
  12.  
  13. t.setModel(&proxy);
  14. t.sortByColumn(0, Qt::DescendingOrder);
  15. QModelIndex idx = proxy.mapFromSource(f.index("/usr/include"));
  16. t.setRootIndex(idx);
  17. t.show();
  18.  
  19. return app.exec();
  20. }
To copy to clipboard, switch view to plain text mode 
Even on large folders the files are always sorted correctly.