Hi, I know this is not the room for DBIx, I tried to post in DBIx, but did not go through, so, if you don't mind, please do not bounce me out.<br> my question is:<br> I have a multiple join, and trying to sort the dataset using oder_by, and get either error, or do not sort.<br> my code is:<br> &nbsp;&nbsp;&nbsp; # table: calls,property,city . property has many calls, city has many property,&nbsp;&nbsp; calls belong to property, property belong to city<br> &nbsp;&nbsp;&nbsp; my $rs = [$c-&gt;model('myappDB::City')-&gt;search(<br> &nbsp;&nbsp;&nbsp; {<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'calls.CallerID' =&gt; '1',<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'calls.CallStatusID' =&gt; '0'<br> &nbsp;&nbsp;&nbsp; },<br> &nbsp;&nbsp;&nbsp; {<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; order_by =&gt; 'city.CityName'<br> &nbsp;&nbsp;&nbsp; },<br> &nbsp;&nbsp;&nbsp; {<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; join =&gt; { 'property' =&gt; 'calls'<br>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br> &nbsp;&nbsp;&nbsp; }<br> &nbsp;&nbsp;&nbsp; )];<br> <br> How can I sort by CityName ?<br> <br> Thank you.<br> <p>&#32;

      <hr size=1>Park yourself in front of a world of choices in alternative vehicles.<br><a href="http://us.rd.yahoo.com/evt=48246/*http://autos.yahoo.com/green_center/;_ylc=X3oDMTE5cDF2bXZzBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW4tY2VudGVy">Visit the Yahoo! Auto Green Center.</a>