title: Magento Product Listing - Sort by product type(Configurable then Simple)
body: <p>In /app/design/frontend/default/[theme]/template/catalog/product/list.phtml you have the following snippet that loops through and displays the <strong>$_productCollection</strong> contents.</p>
  
  <pre><code>&lt;?php $_collectionSize = $_productCollection-&gt;count() ?&gt;
  &lt;?php $_columnCount = $this-&gt;getColumnCount(); ?&gt;
  &lt;?php $i=0; foreach ($_productCollection as $_product): ?&gt;
  ...
  &lt;?php endif; ?&gt;
  </code></pre>
  
  <p>What I'd like to know is how to have the $_productCollection sorted by product type.
  Ultimately what I want is to have configurable products show first, then simple products.</p>
  
  <p>Help would be much appreciated.</p>
  
  <p>Cheers!</p>