[Newbies] Re: how to sort by key a Dictionary object?

Randal L. Schwartz merlyn at stonehenge.com
Wed Aug 26 15:31:11 UTC 2009


>>>>> "Bert" == Bert Freudenberg <bert at freudenbergs.de> writes:

Bert> ... and this would give the advantage to using #keys.

Fascinating.  I suppose it's all those extra calls to extract the key
from the association during the sort.

In this case, it's the inverse of the Schwartzian Transform. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at 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


More information about the Beginners mailing list