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> # table: calls,property,city . property has many calls, city has many property, calls belong to property, property belong to city<br> my $rs = [$c->model('myappDB::City')->search(<br> {<br> 'calls.CallerID' => '1',<br> 'calls.CallStatusID' => '0'<br> },<br> {<br> order_by => 'city.CityName'<br> },<br> {<br> join => { 'property' => 'calls'<br>
}<br> }<br> )];<br> <br> How can I sort by CityName ?<br> <br> Thank you.<br> <p> 
<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>