in reply to Re^3: Challenge: sort weekdays in week-order (elegantly and efficiently)
in thread Challenge: sort weekdays in week-order (elegantly and efficiently)
From my perspective: "Orcish" is just the inner workings of a sort based on a key-function, like in Sort::Key °
AFAIK is sorting by key functions the default in Python.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
°) Tho Salva wasn't explict if the result of a key-function is cached in his implementation.
|
|---|