EOSortordering or ERXSortOrdering not ordering on NSArray
EOSortordering or ERXSortOrdering not ordering on NSArray
- Subject: EOSortordering or ERXSortOrdering not ordering on NSArray
- From: Gustavo Adolfo Pizano <email@hidden>
- Date: Tue, 19 May 2009 11:46:45 +0200
Hello,
I fetching some data as following.
groups = XWSContactsGroup.fetchAllXWSContactsGroups(abEC, new NSArray(new Object[]{ERXSortOrdering.sortOrderingWithKey(XWSContactsGroup.CN, ERXSortOrdering.CompareDescending)}));
for(XWSContactsGroup cg:groups){ NSLog.out.appendln(cg.cn()); } when the console prints the output, I get the results in not the order I specified, ie. I get. Dolis, All, XWS. if I change to CompareAscending, I get the same order in the NSArray. I changed using the normal EOSortOrdering and I have the same results...
what can be happening?
Thanks
Gustavo
|
_______________________________________________
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