Re: array help
Re: array help
- Subject: Re: array help
- From: Theodore Petrosky <email@hidden>
- Date: Wed, 23 Jan 2013 12:49:45 -0800 (PST)
I am sorry. I was so brain tired that I was looking at the day portion of the date and the long and short is it works fine.
Thanks for looking.
Ted
--- On Wed, 1/23/13, Chuck Hill <email@hidden> wrote:
> From: Chuck Hill <email@hidden>
> Subject: Re: array help
> To: "Theodore Petrosky" <email@hidden>
> Cc: "WebObjects Development" <email@hidden>
> Date: Wednesday, January 23, 2013, 3:37 PM
> Looks like it should work, what
> happens?
>
>
> On 2013-01-23, at 12:35 PM, Theodore Petrosky wrote:
>
> > NSArray theNewArray =
> ERXArrayUtilities.sortedArraySortedWithKey(thePWO.pwoMileStones(),
> "msDate");
> >
> > that doesn't work.
> >
> > what is the correct way to sort an array of objects? I
> am sure when I see the answer, I will kick myself.
> >
> > I want to sort this array thePWO.pwoMileStones() of
> PWOMileStone objects on a date attribute msDate. Nothing I
> do seems to want to work.
> >
> > Ted
> > _______________________________________________
> > Do not post admin requests to the list. They will be
> ignored.
> > Webobjects-dev mailing list (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden
>
> --
> Chuck Hill
> Senior Consultant / VP Development
>
> Practical WebObjects - for developers who want to increase
> their overall knowledge of WebObjects or who are trying to
> solve specific problems.
> http://www.global-village.net/gvc/practical_webobjects
>
> Global Village Consulting ranks 13th in 2012 in BIV's Top
> 100 Fastest Growing Companies in B.C!
> Global Village Consulting ranks 76th in 24th annual PROFIT
> 200 ranking of Canada’s Fastest-Growing Companies by
> PROFIT Magazine!
>
>
>
>
>
>
>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden