# Ability to reorder categories in the sidebar

**URL:** https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730
**Category:** UX
**Tags:** sidebar
**Created:** [October 12, 2022, 4:18pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730 "2022-10-12T16:18:51Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [October 3, 2022, 12:44pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/1 "2022-10-03T12:44:50Z")

</div>

Lots of thoughtful responses I love in this post from @LeoDavidson , but especially this:

> [@Try out the new sidebar and notification menus!](https://meta.discourse.org/t/try-out-the-new-sidebar-and-notification-menus/238821/182):
>
> The categories list is alphabetical. Discourse categories have a specified order explicitly set by the admins, but the sidebar currently ignores that and makes quite a jumble of things.

I would _really_ appreciate this. Some indication of nesting for subcategories would be great too, if they were listed under their parent and indented slightly it would help navigation tremendously! Even better if they could roll up under user control.

I recognize the “already tried that” from comment 11, but… tried that on a site with on the order of 100 categories and lots of subcategories? It’ll be a mess for me. Alphabetical would create jumbled nonsense for my users.

Using the site ordering as an option would be great. Like @knewt, it’s hard for me to imagine voluntarily turning on this menu on my site without being able to do that.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [October 3, 2022, 1:13pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/2 "2022-10-03T13:13:16Z")

</div>

> [@mcdanlj](#):
>
> tried that on a site with on the order of 100 categories and lots of subcategories? It’ll be a mess for me

You are wrong. It will be a mess for users. Do a mockup where you have 100+ categories in any order in the sidebar. It is just unusable. But that’s why we have a page for cahtegories.

Sidebar instead, it is for few really important categories choosen by **an user** , not by admin.

---

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [October 3, 2022, 1:30pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/3 "2022-10-03T13:30:48Z")

</div>

Thanks for being so clear that I am wrong. 🙄

I’m not suggesting that users will want to have all 100+ categories in their sidebars. But users often engage across a wide variety of categories and the names of the sub-categories **are relative to the parent category** and don’t make as much sense out of context.

So using site ordering for **each user’s chosen categories** will be the difference between usable and unusable for my site’s users.

Yes, we’re also working on reducing the number of categories; but even a sane-for-site-purpose number of categories would be many dozens, so the core problem remains.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [October 3, 2022, 1:39pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/4 "2022-10-03T13:39:20Z")

</div>

You are very wellcome.

But still — you are basically asking ability to dumb categories page and move it to the sidebar.

What if you or any other user wants to do same with tags? It just doesn’t matter what is the order there. It is still unusable.

The best choise would be keep same order than a forum uses, AND let an user drag & drop everything in wanted order.

Actually the biggest issue of the sidebar is overlapping with other navigation and structures. And if an user, or an admin, has tools to move practically everything to sidebar then there is just no point. Let’s move whole forum to the sidebar 😉

---

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [October 3, 2022, 2:25pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/5 "2022-10-03T14:25:19Z")

</div>

> [@Jagster](#):
>
> But still — you are basically asking ability to dumb categories page and move it to the sidebar.

I am **emphatically and absolutely not asking that.**

I am asking that (possibly optionally) _chosen_ categories sort contextually, not alphabetically.

> [@Jagster](#):
>
> The best choise would be keep same order than a forum uses, AND let an user drag & drop everything in wanted order.

OK, D&D would be fine, but what I’m asking for is _exactly_ the first part of your suggestion: Default to the same order that a forum users, at least as one option if not as the Discourse default.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [October 3, 2022, 2:33pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/6 "2022-10-03T14:33:01Z")

</div>

I agree that the default ordering of categories should match that of the `/categories` page, which is determined by the `fixed category positions` setting. It does seem odd to me to use a different sorting mechanism for the sidebar, which currently always sorts alphabetically.

@mcwumbly is this already on your radar and what do you think?

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [October 3, 2022, 7:03pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/7 "2022-10-03T19:03:41Z")

</div>

> [@mcdanlj](#):
>
> the names of the sub-categories **are relative to the parent category** and don’t make as much sense out of context.

There’s some discussion about this over here if you want to dive deeper on this particular issue: [Nest subcategories under their parent categories in the sidebar](https://meta.discourse.org/t/nest-subcategories-under-their-parent-categories-in-the-sidebar/239581)

> [@Try out the new sidebar and notification menus!](https://meta.discourse.org/t/try-out-the-new-sidebar-and-notification-menus/238821/204):
>
> It does seem odd to me to use a different sorting mechanism for the sidebar, which currently always sorts alphabetically.

I do think the fact that what is in the sidebar is a subset chosen by the user matters, and makes it likely in appropriate to use the site-wide chosen sorting.

I suspect that for the kind of problem we’re discussing here, it’s going to be more important to allow users to have multiple sections so they can _group_ things in a way that matters to them, rather than giving them too much fine grained control over how they are sorted.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [October 3, 2022, 7:18pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/8 "2022-10-03T19:18:26Z")

</div>

> [@tobiaseigen](#):
>
> It does seem odd to me to use a different sorting mechanism for the sidebar

Why would it be odd? Wasn’t the main idea give ability to get notifications of new posts from important categories? And that importance is a decision of an user, not from an admin or software.

So… is the sidebar partial copy of e.g. category page or tool to user? That is the question here.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [October 3, 2022, 7:39pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/9 "2022-10-03T19:39:07Z")

</div>

> [@Jagster](#):
>
> Wasn’t the main idea give ability to get notifications of new posts from important categories?

I think the above assumption may be the crux of the disagreement. For some this will simply be for quick access to the categories they watch/participate in most, for others it may be to track activity on a per-category basis. You’re thinking along the lines of the latter but many users won’t be, and even those who do may not want the categories with the most change at the top of the list.

I for one want the order to be static, and if it matches the existing category order that’s absolutely fine. It’s definitely simpler in this first iteration to adopt the existing sort order, than to expect every user to go in and configure category ordering.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [October 4, 2022, 4:16am UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/10 "2022-10-04T04:16:15Z")

</div>

> [@Stephen](#):
>
> I for one want the order to be static, and if it matches the existing category order that’s absolutely fine.

Actually the two of my ground assumptions are:

- the sidebar is made for an user, not for an admin
- the sidebar is not replacement for list pages

---

<div class="post-metadata">

### Author: ![dylanb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dylanb/32/139102_2.png) [@dylanb](https://meta.discourse.org/u/dylanb)
#### Post date: [October 12, 2022, 4:18pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/11 "2022-10-12T16:18:51Z")

</div>

> [@Try out the new sidebar and notification menus!](https://meta.discourse.org/t/try-out-the-new-sidebar-and-notification-menus/238821/11):
>
> We initially had it implemented this way but found it even more problematic in earlier testing. Part of the problem is that the UI for choosing things doesn’t allow you to easily reorder them. At some point, custom ordering may be on the table, but we need a better UX for that if we want to support it. For now, alphabetical felt like the better tradeoff.

Has any way to sort the sidebar categories been implemented? This is critical for my implementation.

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [October 12, 2022, 4:31pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/12 "2022-10-12T16:31:21Z")

</div>

Nope, there’s no built-in way to sort categories currently. Can you share more details about your particular scenario and why that’s critical?

---

<div class="post-metadata">

### Author: ![dylanb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dylanb/32/139102_2.png) [@dylanb](https://meta.discourse.org/u/dylanb)
#### Post date: [October 12, 2022, 4:33pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/13 "2022-10-12T16:33:22Z")

</div>

I have two main categories that house the bulk of posts. And then 3-4 special categories that need to be referenced.

Right now, the 3-4 special categories start with a number (a year) so they automatically go first. I want the two main ones first and the numbered ones last in this case.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [October 12, 2022, 4:41pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/14 "2022-10-12T16:41:16Z")

</div>

~~If you turn on `fixed_category_positions` then you can put them in whatever order you want (rather than most-recent-post order, which is default). I can’t remember what the interface looks like now, but you can either drag them around or give them numbers for the sort order.~~

EDIT:

> [@tobiaseigen](#):
>
> No, this is not the case. In the sidebar currently

Oh. Sorry. I guess I should pay more attention to the title. 🤷

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [October 12, 2022, 4:44pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/15 "2022-10-12T16:44:37Z")

</div>

No, this is not the case. In the sidebar currently, categories are always sorted alphabetically. I agree we should change this to match the categories sort order if `fixed_category_positions` is enabled.

There are more changes coming to the sidebar to make stuff like this configurable by the user, but the site default should be settable by the admin and it makes sense to have it just follow the `fixed_category_positions` setting rather than just arbitrarily sorting alphabetically.

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [October 12, 2022, 8:39pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/16 "2022-10-12T20:39:28Z")

</div>

> [@tobiaseigen](#):
>
> it makes sense to have it just follow the `fixed_category_positions` setting

I think there are three scenarios to consider:

1. Categories page that lists all categories
2. Subset of categories that admins set to be in the sidebar
3. Subset of categories that users choose to add in their sidebar

It’s not obvious to me that the ordering chosen for (1) should apply to (2) or (3), especially since we currently flatten the list and don’t nest subcategories in the sidebar.

On meta, currently, I have this in my sidebar:

- announcements
- community
- documentation
- ux

If we applied this logic today on meta, my sidebar would be:

- documentation
- ux
- announcements
- community

I feel like I’d look at that, and just think… hmm… why?

And if the list gets longer, scanning it quickly to find the one I’m looking for will be more difficult. When it’s alphabetical, I know which direction to look for the thing I’m trying to find.

On the categories page, it’s different - we’re trying to present everything, in context with descriptions.

It’s clear there’s a desire for additional configuration here for admins, and maybe users too, but I’m not yet sure that applying `fixed_category_positions` is what we want to do here.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [October 12, 2022, 8:47pm UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/17 "2022-10-12T20:47:25Z")

</div>

> [@mcwumbly](#):
>
> I’d look at that, and just think… hmm… why?

That’s funny because when I look at that I think 👍 yes that’s the way the site owner has decided to order the categories. It makes more sense to me to have it ordered the way the site owners envision it rather than an arbitrary alphabetical list.

I guess I am also used to it because I have been using Discourse for Teams for the last two years, which does follow the ordering I am suggesting. Here’s a screenshot. Note they are not in alphabetical order but in a sensible order, and the “Photos” subcategories are all directly below the Photos item in the sidebar, and are in the order I (the site owner) chose.

 ![Screen Shot 2022-10-12 at 1.44.45 PM](https://global.discourse-cdn.com/meta/original/4X/b/8/f/b8f5c66d287ae356e0c919bae18d1b520e767983.png)

---

<div class="post-metadata">

### Author: ![dylanb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dylanb/32/139102_2.png) [@dylanb](https://meta.discourse.org/u/dylanb)
#### Post date: [October 13, 2022, 12:09am UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/18 "2022-10-13T00:09:29Z")

</div>

> [@mcwumbly](#):
>
> I feel like I’d look at that, and just think… hmm… why?

In my case, there’s a clear ranking or hierarchy of important categories. For example: Michigan Basketball (the main focus), then Michigan Basketball Recruiting (more specific sub category) then College Basketball (more broad), then Off Topic (always want it last).

---

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [October 13, 2022, 2:43am UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/19 "2022-10-13T02:43:18Z")

</div>

It feels like this broken-out subthread (suddenly I’m the OP…) has gone in a lot of different directions.

The title as chosen in breaking them out leaves some things out. Like ability for whom, and in what context?

> [@mcwumbly](#):
>
> On meta, currently, I have this in my sidebar:
> 
> - announcements
> - community
> - documentation
> - ux
> 
> If we applied this logic today on meta, my sidebar would be:
> 
> - documentation
> - ux
> - announcements
> - community
> 
> I feel like I’d look at that, and just think… hmm… why?

This feels a bit backwards to me. I’ve been pondering why. 😃

There’s no particular reason for an alphabetical sort to be meaningful. I mean, the point of categories is to categorize, which implies semantics, and alphabetic sort order obscures the semantics inherent in the whole point of categorization.

I’m more surprised that “announcements” is buried as a subcategory of a category that isn’t near the top of the list.

I would expect announcements to sort around the top of the all categories view, and additionally don’t understand at all why announcements aren’t seen as a form of documentation. Making is a sub-category of discussion of features is not a choice that I understand. That’s what I look at, “and just think… hmm… why?” ☺

Now, I’m in the middle of work that will eventually cut down the number of categories on my site to less than half of the current set, but no matter what it’s a rich set of content that will make the sidebar a jumble sorted alphabetically.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [October 13, 2022, 2:45am UTC](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730/20 "2022-10-13T02:45:14Z")

</div>

> [@mcwumbly](#):
>
> I feel like I’d look at that, and just think… hmm… why?

If anything I would say this highlights the possibility that the category ordering here on Meta requires some degree of review 😉

[Next page](https://meta.discourse.org/t/ability-to-reorder-categories-in-the-sidebar/241730.md?page=2)
