<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Sort dialog takes forever to load when many columns are selected"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123640#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Sort dialog takes forever to load when many columns are selected"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123640">bug 123640</a>
              from <span class="vcard"><a class="email" href="mailto:Marcel.Waldvogel@uni-konstanz.de" title="Marcel Waldvogel <Marcel.Waldvogel@uni-konstanz.de>"> <span class="fn">Marcel Waldvogel</span></a>
</span></b>
        <pre>A new empty spreadsheet works perfectly well.

It could however be a Linux-only problem. Could you please try this on Linux?

I am still having the same problem with 6.3 on Ubuntu 19.04 x86_64. On a fairly
recent machine (Lenovo T460s), "New Spreadsheet", "Select All", "Data->Sort"
takes about a minute before the "Sort" dialog appears.

The waiting time is roughly quadratic to the number of columns selected:

Columns | Delay
--------+------
    200 |    3s
    400 |   10s
    600 |   20s
    800 |   40s
   1024 |   60s

("1024" is what "Select all" gives; the delays are only estimates)

Up to 200 columns, the delay is acceptable. But then the delays start becoming
annoyingly long. It seem that there is quadratic behavior in one of the data
structures involved in creating the "Sort Key 1/2/3" drop-down lists which
hurts performance when many columns are involved.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>