Section list is no longer sorted by order
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3065080. --> Reported by: [larowlan](https://www.drupal.org/user/395439) >>> <p>Prior to <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/entity_hierarchy/-/work_items/3057243" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/entity_hierarchy/-/work_items/3057243</a></span> sorting was happening in the module.</p> <p>Based on <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/workbench_access/issues/3065079" title="Status: Closed (fixed)">#3065079: Document what 'weight' is for in the return of ::getTree</a></span> it appears as though WBA does not use the 'weight' element in the return from getTree for sorting.</p> <p>In the meantime, we should do our own sorting.</p> > Related issue: [Issue #3065079](https://www.drupal.org/node/3065079) > Related issue: [Issue #3057243](https://www.drupal.org/node/3057243)
issue