I agree Hugi, I actually have added at least orderedList() to my fork because it's handy.
On Mon, Oct 12, 2015 at 3:09 AM, Hugi Thordarson <h...@karlmenn.is> wrote: > 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