[Newbies] Re: sorting by key1 inside of key2

Joseph Alotta joseph.alotta at gmail.com
Thu Jul 7 12:37:47 UTC 2016


thank you, ben!!


> On Jul 6, 2016, at 11:17 PM, Ben Coman [via Smalltalk] <ml-node+s1294792n4905287h46 at n4.nabble.com> wrote:
> 
> [:a :b | (a category) = (b category) 
>                     ifFalse: [ (a category) < (b category) ] 
>                     ifTrue: [ (a payee) < (b payee)]]. 





--
View this message in context: http://forum.world.st/sorting-by-key1-inside-of-key2-tp4905286p4905348.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20160707/620ecbba/attachment.htm


More information about the Beginners mailing list