Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Chronological Ordering of Nodes with the Same Timestamp

by QM (Parson)
on Sep 12, 2017 at 08:05 UTC ( [id://1199170]=note: print w/replies, xml ) Need Help??


in reply to Chronological Ordering of Nodes with the Same Timestamp

... || $a->{node_id} <=> $b->{node_id}

Just curious...do you have any evidence or suspicion that the sort is intentionally reversed? Ala:

... || $b->{node_id} <=> $a->{node_id}

-QM
--
Quantum Mechanics: The dreams stuff is made of

Replies are listed 'Best First'.
Re^2: Chronological Ordering of Nodes with the Same Timestamp
by kcott (Archbishop) on Sep 12, 2017 at 08:22 UTC

    G'day QM,

    "Just curious...do you have any evidence or suspicion that the sort is intentionally reversed?"

    No. I have neither evidence nor suspicion of that. As stated: "I've no idea of the code behind this".

    That was merely intended to suggest, in a Perlish way, that when there's no inherent ordering with whatever criteria is currently being used, ordering by node ID be used.

    It was in no way intended to be any sort of patch; just a rough suggestion: "something akin to this ...".

    — Ken

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-26 09:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found