|
Test
Your EQ #145 Answer
|
Answer
9
The
map - sort - map sequence is known as the "Schwartzian
Transform", in honor of its inventor, Randal Schwartz.
The idea is to extract the sort key once from each record
so that a simple lookup can be used by the sort subroutine.
Contributor:
Dave Tweed
Published: August-2002