Make the drush command sort entries to maximize perfomance
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #2882007. -->
Reported by: [larowlan](https://www.drupal.org/user/395439)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Writes in the middle of the nested set tree are more expensive</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Sort the entries in the batch to maximise performance</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue