<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,<br>
    </p>
    skipping the other content to fit in size limits for mailing list
    ...<br>
    <br>
    <div class="moz-cite-prefix">On 27/05/16 11:59, Aleš Šturm wrote:<br>
    </div>
    <blockquote cite="mid:00aa01d1b7fe$6f8505e0$4e8f11a0$@gmail.com"
      type="cite"><b><span lang="EN-US">I think that statuses with equal
          “priority” are retrieved by “id” and not by “received_time”!?</span></b></blockquote>
    Is the above the conclusion and the fix would be to order by
    received_time if the priority is the same?<br>
    <br>
    At this moment I expect there is no further ordering than the
    priority in this case, mysql being the one returning the order
    within the priority as the records are found in the db. Like, if you
    just do a select without order by, there is no guarantee that the
    order of records is the one as the records were added.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> - <a class="moz-txt-link-freetext" href="http://www.kamailio.org">http://www.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>