Hi all.

I’ve seen orderList() in Ordering and Property which sort the list in place and 
return nothing, but is there a method to order a list and return a copy?

If not, would you be opposed to copying EOF’s API for this? ERXKey (EOF’s 
equivalent of Cayenne’s Property) has two methods “sort()” which sorts a list 
in place, and “sorted()” which returns a sorted copy of the list. So, this 
would probably mean jsut adding “orderedList()” to Cayenne’s Ordering and 
Property classes.

Cheers,
- hugi

Reply via email to