Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Unusual sorting requirement

by LanX (Saint)
on Sep 12, 2018 at 21:54 UTC ( [id://1222259]=note: print w/replies, xml ) Need Help??


in reply to Unusual sorting requirement

> What sorting strategy can I use to interleave the two arrays, sorting by the applicable date ?

I'd rather solve it with a Schwartzian transform instead of cramming the whole logic into one sort term.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

update

like shown by tybalt in the meantime

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1222259]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-19 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found