<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Will Smith wrote:
<blockquote cite="mid20061215023305.80996.qmail@web54515.mail.yahoo.com"
 type="cite">Hi,<br>
it used to worked with the option order_by with cdbi class, but in DBIC
class, I could not get it:<br>
$c-&gt;stash-&gt;{book} = [$c-&gt;model('myappDB::Book')-&gt;all,
{order_by =&gt; 'title}];<br>
  <br>
</blockquote>
I think you want:<br>
<br>
$c-&gt;stash-&gt;{book} = [$c-&gt;model('myappDB::Book')-&gt;search(
{}, {order_by =&gt; 'title} )];<br>
<br>
That's how I remember doing it ...<br>
<br>
<blockquote cite="mid20061215023305.80996.qmail@web54515.mail.yahoo.com"
 type="cite"> Could some one please show me how to do this.<br>
  <br>
Thank you.<br>
  <p> </p>
  <hr size="1">Any questions? Get answers on any topic at <a
 href="http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx">Yahoo!
Answers</a>. Try it now.
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
List: <a class="moz-txt-link-abbreviated" href="mailto:Catalyst@lists.rawmode.org">Catalyst@lists.rawmode.org</a>
Listinfo: <a class="moz-txt-link-freetext" href="http://lists.rawmode.org/mailman/listinfo/catalyst">http://lists.rawmode.org/mailman/listinfo/catalyst</a>
Searchable archive: <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/catalyst@lists.rawmode.org/">http://www.mail-archive.com/catalyst@lists.rawmode.org/</a>
Dev site: <a class="moz-txt-link-freetext" href="http://dev.catalyst.perl.org/">http://dev.catalyst.perl.org/</a>
  </pre>
</blockquote>
<br>
</body>
</html>