# Sidebar Menu Reorder

**URL:** <https://meta.discourse.org/t/sidebar-menu-reorder/394049>\
**Category:** Theme component\
**Tags:** sidebar\
**Created:** [January 22, 2026, 2:28am UTC](https://meta.discourse.org/t/sidebar-menu-reorder/394049 "2026-01-22T02:28:08Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [July 31, 2026, 4:02pm UTC](https://meta.discourse.org/t/sidebar-menu-reorder/394049/23 "2026-07-31T16:02:47Z")

</div>

Quick note on the tone question - I didn’t read Lilly’s replies as rude, just brief answers to a question that wasn’t fully clear yet from the outside and a hint that the aspect of links not working for everyone might be unrelated to her component.

On the actual problem: having two sections share the same slug isn’t an issue by itself - they can coexist fine in the sidebar.  
This component positions sections via `data-section-name` in CSS, and that’s the only stable hook exposed in the rendered DOM. There’s no separate ID for a section beyond its slug, so two sections with an identical name can’t be assigned different order values - the component can’t tell them apart, and neither could any other CSS-based approach, since the DOM simply doesn’t expose anything more granular to select on.  
So this isn’t a matter of a small improvement, as you suggested with the ID idea - it would require the DOM to expose something Discourse currently doesn’t or a fundamentally different approach.

I am still not entirely sure what your problem is with the reorder component regarding it using slugs. In your example both sections are next to each other - this would work fine with this component. Maybe you can still help to clarify what exactly your problem was with reordering your sections.

---

_[View the full topic](https://meta.discourse.org/t/sidebar-menu-reorder/394049)._
