• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
EOSortordering or ERXSortOrdering not ordering on NSArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: EOF Stumper (for me at least)
  • Next by Date: Java Monitor 5.2.4 with WO 5.4.3 Applications
  • Previous by thread: Re: EOF Stumper (for me at least)
  • Next by thread: Java Monitor 5.2.4 with WO 5.4.3 Applications
  • Index(es):
    • Date
    • Thread