title: Yii findAllByAttributes with BETWEEN DATES and ORDER BY
body: <p>Im tring to do a search by attributes, on a given date range and ordered by date created, but no luck.</p>
  
  <pre><code>$user = array('user_country'=&gt;1 ,'user_gender'='M');
      $rows = User::model()-&gt;findAllByAttributes($user,array("user_date_created BETWEEN '2012' AND '2013' " ,'order'=&gt; 'user_date_created') );
  </code></pre>
  
  <p>Thank you in advance.</p>