in reply to Re^2: Challenge: sort weekdays in week-order (elegantly and efficiently)
in thread Challenge: sort weekdays in week-order (elegantly and efficiently)

See also: Re^5: Create sort function from a text file (Sorting References: Schwartzian, GRT, Orcish, External, Parallel)

  • Comment on Re^3: Challenge: sort weekdays in week-order (elegantly and efficiently)

Replies are listed 'Best First'.
Re^4: Challenge: sort weekdays in week-order (elegantly and efficiently)
by LanX (Saint) on Jul 29, 2022 at 08:04 UTC
    Thanks.

    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.