On Aug 1, 2014, at 10:50 AM, Nicolas Cellier 
<[email protected]> wrote:

> 
> 
> 
> 2014-08-01 16:50 GMT+02:00 Henrik Johansen <[email protected]>:
>> 
>> 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.
>> 
>> Cheers,
>> Henry
> 
> +1
> 
> Note that I have a public experimental port to Pharo in SmalltalkHub that I 
> already announced once (in http://smalltalkhub.com/#!/~nice/NiceVMExperiments 
> but I can't tell exactly the package name TagSortFunction or something like 
> that, the web interface of SmalltalkHub is currently showing me a debugger 
> with nil does not understand #data).
> Yes, I know VM-experiments is not the right place for such package, but at 
> the time I didn't find where to create a new project... 
> 
> Since I got absolutely zero feedback after a long thread, I assumed it was 
> not interesting anybody...
> But my personal opinion differs: this should be included in each and every 
> Smalltalk.

+1

Aloha

Reply via email to