Person[] people = Person.FindAll(Order.Asc("Name"));

On Wed, Oct 28, 2009 at 11:28 PM, Chris Curvey <[email protected]> wrote:

>
> this can't be as hard as it seems...I hope someone can give an
> example.
>
> All I want to do is:
>
> Person[] people = Person.FindAll()
>
> but have the resulting array sorted by the "Name" field (which is a
> varchar database column and an AR string field).
>
>
>
> >
>


-- 
Jono

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to