Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

In "Tk label width to fit in text area", when viewed as "Replies are listed 'Oldest First'.", there are two nodes, listed in the following order, with these title bars:

Re: TK LABEL WIDTH TO FIT IN TEXT AREA [id://1199162] by Anonymous Monk on Sep 12, 2017 at 14:35 AEST ... Re: TK LABEL WIDTH TO FIT IN TEXT AREA [id://1199161] by Anonymous Monk on Sep 12, 2017 at 14:35 AEST ...

Everything about these two nodes is identical except for the node IDs. [In fact, #1199162 had been considered for reaping because it's a duplicate: that may have happened by the time you read this.]

Anyway, on the basis that #1199161 was created before #1199162, #1199161 should be displayed first, i.e. the current order reversed.

As I've no idea of the code behind this, I can really only guess, but perhaps where the timestamps are identical, something akin to this could be added to the current sort functionality:

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

— Ken


In reply to Chronological Ordering of Nodes with the Same Timestamp by kcott

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    [marto]: good morning all

    How do I use this? | Other CB clients
    Other Users?
    Others cooling their heels in the Monastery: (5)
    As of 2017-10-23 08:38 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      My fridge is mostly full of:

















      Results (277 votes). Check out past polls.

      Notices?