On 01 Aug 2014, at 4:47 , Mariano Martinez Peck <marianopeck@gmail.com> wrote:




On Fri, Aug 1, 2014 at 11:31 AM, Esteban A. Maringolo <emaringolo@gmail.com> 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.

Cheers,
Henry