On 1 août 2014, at 16:50, Henrik Johansen <[email protected]> wrote:
> > On 01 Aug 2014, at 4:47 , Mariano Martinez Peck <[email protected]> wrote: > >> >> >> >> On Fri, Aug 1, 2014 at 11:31 AM, Esteban A. Maringolo <[email protected]> >> wrote: >> Y asked for the same thing a few days ago in >> http://forum.world.st/Multiple-sorting-helper-td4770613.html >> >> Something like: >> sorter := MultipleSortCriteria new >> add: #lastName; >> add: [:each | each personalInfo age ] ascending: false. >> aCollection asSortedCollection: sorter. >> >> >> Exactly!!! >> And... what is most important for me, is that to the MultipleSortCriteria I >> would like to ask #sortBlock :) >> >> Thanks Esteban for better explaining what I was looking for ;) > > I always liked this approach: > http://objology.blogspot.no/2010/11/tag-sortfunctions-redux.html > > Don’t think anyone’s ported it to Pharo yet though. Yes it looks cool! We can try to port it then > > Cheers, > Henry
