Re: Sorting question
Re: Sorting question
- Subject: Re: Sorting question
- From: "Jonathan 'Wolf' Rentzsch" <email@hidden>
- Date: Wed, 22 Sep 2004 11:32:37 -0500
James Cicenia, email@hidden, wrote:
>Hello I have a set of key/values that I wish to sort descending by
>value.
>
>What is the best way to do this? TreeMaps don't work because the value
>could be duplicated if I used it as the key.
>
>Is there a standard WebObjects way?
There is! Check out EOSortOrdering's sortArrayUsingKeyOrderArray() and
sortedArrayUsingKeyOrderArray().
| Jonathan 'Wolf' Rentzsch http://rentzsch.com
| Red Shed Software http://redshed.net
| "better" necessarily means "different"
_______________________________________________
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