hasMany('Order', array('customer_id' => 'id'))->orderBy('id'); } }