title: yii sorting CListView with dropdown
body: <p>So I have a CListView, that I can sort using the attributes I've set in sortableAttributes, this is fine when it's just ASC and DESC sorting. But I also want to sort the CListView by a category. In my model I have a category, ranging from 0-8. I've made a dropdown select that shows the categories.</p>
  
  <p>What I would like to do is update my CListView when an option in the dropdown is selected, I could write my own jQuery code for this, but I'm guessing there is some smart yii way of doing this.</p>
  
  <p>Thanks</p>
  
  <pre><code>&lt;?php $this-&gt;widget('zii.widgets.CListView', array(
      'dataProvider'=&gt;$model-&gt;search(),
      'sortableAttributes'=&gt;array('views','create_time','release_time'),
      'id'=&gt;'#videos',
      'itemView'=&gt;$view,
      'pager'=&gt;array('cssFile'=&gt;'/css/pager.css'),
  )); ?&gt;
  </code></pre>