<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Where exactly can that stable quicksort be found?
      rtl/inc/sortbase.pp looks pretty much like standard quicksort to
      me.<br>
    </p>
    <div class="moz-cite-prefix">Am 29.11.2022 um 11:08 schrieb Sven
      Barth via fpc-devel:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFMUeB99mSrkS6Ys6adu8uTh4f0e5mJyV3ROkGGh050u2vQOuw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">
        <div>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">J. Gareth Moreton via
              fpc-devel <<a
                href="mailto:fpc-devel@lists.freepascal.org"
                moz-do-not-send="true" class="moz-txt-link-freetext">fpc-devel@lists.freepascal.org</a>>
              schrieb am Di., 29. Nov. 2022, 10:09:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Surely
              that's a bug in the comparison functions that should be
              fixed and <br>
              not something that can be blamed on introsort.  If a
              comparison function <br>
              is faulty, then pretty nuch any sorting algorithm can be
              considered to <br>
              have unpredictable behaviour.<br>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">This *can* be blamed on IntroSort, because
          Stability (order of equal elements is kept) is an attribute of
          sorting algorithms and IntroSort is *not* considered stable
          while QuickSort *can* be stable depending on the
          implementation and ours *is*. </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Regards, </div>
        <div dir="auto">Sven </div>
        <div dir="auto">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
            </blockquote>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
fpc-devel maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>
</pre>
    </blockquote>
  </body>
</html>