title: How to sort View items
body: <p>Setting an <code>setSortingEnabled()</code> to <code>True</code> makes it possible to click the column header name to sort the view's items:</p>
  
  <pre><code>tableView=QTableView()
  tableView.setSortingEnabled(True) 
  </code></pre>
  
  <p>But even while the attribute has been set the view will display the items unsorted.
  In order to sort the items the header must be clicked.
  Question: How to make view go ahead and to sort its items before the header is clicked.
  So the view is sorted straight from the start. </p>