Dec. 23, 2009
4:14 p.m.
"Adrian" == Adrian Kuhn <akuhn@iam.unibe.ch> writes:
Adrian> What bugs me is that #sortBy: does not what it says. I would expect that Adrian> aCollection sortBy: [ :each | each name ] Adrian> does the same as Adrian> aCollection sort: [ :a :b | a name <= b name ] And if you could make "aCollection sortBy: #name" also do the same, bonus points! -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion