title: Sorting related models in a Yii findByPk()
body: <p>Using the Yii Framework, How can I sort the related model modifiervalues by "sortorder ASC, name ASC"? I have tried <code>order-&gt;('modifiervalues.sortorder ASC, modifiervalues.name ASC')</code> to no avail</p>
  
  <pre><code>&lt;?php
      $item = Item::model()
      -&gt;with("modifiergroups.modifiervalues")
      -&gt;findByPk($id);
  ?&gt;
  </code></pre>