Sort display of topics Alphabetically


The ability to sort a topic list alphabetically by title would also be helpful for when Discourse is deployed as an intranet.

For instance, in MacOS, Windows, Dropbox, Google Drive, etc. “sort by name” is a default or common way to organize files. When Discourse is being used for a staff directory, to provide easy access to policy documents, to provide notes from a regular meeting, and for other common use cases in an intranet, ‘sort by name’ would be a natural and preferred way to organize content within a Category.

I’d use this to list topics tagged #recommendations.

Currently I manually maintain an “index” topic with links in alphabetical order to individal recommendations topics, and an automated index page with alphabetical sorting by title would save me a lot of time


This would be amazing

1 Like

Alphabetically sorting would also be useful for me,
I’m building a directory with the tags and i beleive it would be worth to sort the dentists per title.

I would force them to add there name first


I don’t see why you shouldn’t be able to sort by any column label in the list:

You can currently sort by replies, views, and activity… why not topic as well?

1 Like

This feature was removed after it was pointed out that the alphabetical sort is nonsensical for the Latest view.

For a knowledge base, consider using the /docs view of the Knowledge Explorer plugin instead?


Are there any plans to ever bring back alphabetical topic sort again?

Not at the moment, I can see in the context of docs though that makes sense. Docs - Discourse Meta. Indeed docs does allow you to sort alphabetically.


If I’m not mistaken, Docs only allows you to sort categories and tags alpabetically. Not the topics. I’d love to have this so that I can present the docs in a particular, sequential order.

Edit: I was wrong. You can click the topic list headers - it wasn’t obvious because there is no arrow indicating activity sort by default.

thanks for pointing this out. Does anyone know with the Docs plugin, if there’s a way to make it all alphabetical by default? Right now the sorting needs to be done manually by the user

See this topic where I shared a modification for sorting alphabetically. I hope they officially integrate it into Docs in some way Modifying Discourse Docs to only allow for sorting by Title - dev - Discourse Meta

thanks a lot! really appreciate your method, I’ll definitely give it a try! and I agree, alphabetic sorting is a great feature that a lot of us really need. Thanks again!

1 Like

Thanks for keeping this thread alive. I know that there are strong feelings about alpha sort NOT becoming an option, and many use cases have been proposed, all responded to with defenses of tags and other sorts of search.

I’d love it if someone could suggest a way for me to handle the following use case:

I have 25 topics, each containing a video up for discussion.

It’s important that people work through the videos in the right order.

So, if I number the topics and have an alpha sort, we’re done. The user can start at the top, and work their way down. All they have to remember is where they left off and pick up next time.


If I use any of the many existing sort options, they get scrambled. The one possible hack is creation date, but that makes it really difficult for me to edit the list in any useful way.

Am I misunderstanding my use case, or am I stuck? I asked the bot, but he gave up.


@codinghorror Jeff, not sure if this hit your radar…

thanks for considering.

Could you edit the topic timestamps to create the order you need? For instance, I changed these ones to be 1 hour apart (00:00, 01:00, 02:00), and then that would allow me to insert up to 59 extra topics in between (with a little timestamp tweak) if I wanted to add in 'Lesson 1.1, Lesson 1.2, etc later). Would that work for you?

(With the category in ‘created at’ order).

Though changing the timestamp once they’ve accrued replies would also change the reply timestamps as well, but if you’re adding a new one this might not affect anything.

Though I admit, it’s not a replacement for allowing a set order of topics in a category, which may be the ideal solution. :slight_smile:

1 Like

yep, that’s the workaround, but of course, the beauty of a community-built software solution is that perhaps we can avoid that…

thanks @JammyDodger


We currently have a new /filters endpoint for logged in users. (Full topic here)

I checked in with @tgxworld and it seems like doing order:title wasn’t too difficult, and he has made an addition is pending review and merge.

Wondering if this is suitable for you?


if the admin can set this as the default for a given topic, it’s going to get the job done, thank you @nat

is there a way to know when it’s working?

Do you mean setting “sort by alphabetical order” for a given category? If that’s the case, that might not be possible… The /filter page will look like this:

We’ll @ mention you here when we’ve got this feature merged and deployed for you. Setting a bookmark to remind :bookmark:

Perhaps your admins can try it out and see if it’ll work. As mentioned in the other topic, a possible use-case is that you can use the filter link, e.g. and add it to the sidebar.

1 Like

@Seth_Godin you should be able to try out the feature on your sites now.

As an example, you can use this which essentially means to sort titles in the bug category in ascending order:

Since this feature is now possible, I’ll be closing this topic.


This topic was automatically closed after 2 days. New replies are no longer allowed.