Sort display of topics Alphabetically

AI-generated summary

Users across multiple Discourse communities have long requested the ability to sort topics alphabetically by title, citing use cases such as organizing user guides, council meeting recordings, staff directories, policy documents, and sequential video lessons. While Discourse previously removed alphabetical sorting due to its nonsensical behavior in the ‘Latest’ view, users have found workarounds—like manipulating topic creation dates or manually maintaining index threads. The Docs plugin supports alphabetical sorting of categories and tags, and now, thanks to an experimental /filters endpoint and a recent pull request (#22293), users can sort topics by title using order:title-asc or order:title-desc in the filter URL (e.g., https://meta.discourse.org/filter?q=order%3Atitle-asc%20categories%3Abug). Although admins cannot yet set this as a default view for a category, the feature is now available for testing. Seth_Godin confirmed this meets his need for ordered video lessons, and nat announced the feature’s availability and closed the thread. Users are encouraged to test the filter and bookmark the link for future use.

Currently the list of topics can be sorted by replies, views and activity.
What about sorting by title?

Example: Here are some user guides I have created for users, I used a nomenclature for the titles. It would he helpful if the users could sort on title.

「いいね!」 9

I’d like that feature, too. In my case, it is for a category with topics that I’d like sorted by date as each topic has a video recording of a council meeting and it would easiest to digest them in chronological order in terms of finding meetings and having a sense of what is going on in the town.

I found a work around if anyone else reads this thread looking for how they can sort their topics in a category in chronological order of some sort. See this thread:

https://meta.discourse.org/t/is-it-possible-to-change-the-creation-date-of-topics-as-admin-so-can-order-topics-chronologically/81709

「いいね!」 5

Just wanted to cross reference a post of a user asking for support as they had a difficult time finding a meeting thread in a category. If sorting be alphanumeric was available, this would not be an issue for us.

https://discuss.jordanbpeterson.community/t/microaggressions-are-fundamentally-different-from-aggressions-how-to-break-down-this-kind-of-nonsense/312/15?u=balupton

Here is the category in question:

https://discuss.jordanbpeterson.community/c/meetings

Hi,

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.

「いいね!」 1

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

https://se23.life/t/list-of-local-recommendations-in-se23-trades-shops-services-etc/763

「いいね!」 2

これは素晴らしいですね

「いいね!」 1

アルファベット順のソートも私にとって有用です。
タグ付きのディレクトリを構築しており、タイトル順に歯科医を並べる価値があると考えています。

まず名前を追加することを義務付けるつもりです。
https://francais-a-londres.org/tag/dentistes

「いいね!」 4

リストの列ラベルなら、どれでもソートできるはずです。

image

現在、返信数、閲覧数、アクティビティでソートできますが、トピックでもソートできないのはなぜでしょうか?

「いいね!」 1

この機能は、「最新」ビューにおけるアルファベット順ソートが意味をなさないことが指摘されたため、削除されました。

ナレッジベースの場合は、代わりにナレッジエクスプローラープラグインの /docs ビューの使用をご検討ください。

「いいね!」 4

アルファベット順のトピックソートを再び導入する予定はありますか?

現時点ではそうではありませんが、ドキュメントの文脈ではそれが理にかなっていることがわかります。Documentation - Discourse Meta 確かにドキュメントでは、アルファベット順に並べ替えることができます。

「いいね!」 2

もし私の記憶が正しければ、Docs ではカテゴリやタグをアルファベット順に並べ替えることしかできません。トピックの並べ替えはできないはずです。ドキュメントを特定の順序で提示したいので、この機能があればとても助かります。

追記:私の間違いでした。トピックリストの見出しをクリックすれば並べ替えが可能です。デフォルトではソートを示す矢印が表示されないため、気づきにくかったようです。

これを指摘してくれてありがとう。Docsプラグインについて、デフォルトですべてアルファベット順にする方法はありますか?現在、並べ替えはユーザーが手動で行う必要があります。

アルファベット順で並べ替えるための変更について共有したこのトピックをご覧ください。公式にDocsに何らかの形で統合されることを願っています。Discourse Docsをタイトルのみで並べ替えられるように変更する - dev - Discourse Meta

「いいね!」 1

ありがとうございます!あなたの方法に本当に感謝しています。ぜひ試してみます!そして、アルファベット順ソートは多くの人が本当に必要としている素晴らしい機能だと思います。重ねて感謝いたします!

「いいね!」 1

このスレッドを維持してくれてありがとう。アルファソートがオプションにならないことについては強い意見があることを承知しています。多くのユースケースが提案されましたが、すべてタグやその他のソート方法の擁護で対応されました。

以下のユースケースを処理する方法を誰か提案していただけると嬉しいです。

25のトピックがあり、それぞれに議論用のビデオが含まれています。

人々が正しい順序でビデオを進めることが重要です。

したがって、トピックに番号を付け、アルファソートを使用すれば完了です。ユーザーは上から始めて、下に進むことができます。覚える必要があるのは、どこで中断したか、次回どこから再開するかだけです。

しかし

既存の多くのソートオプションのいずれかを使用すると、スクランブルされます。唯一可能なハックは作成日ですが、リストを効果的に編集することが非常に困難になります。

私のユースケースを誤解していますか、それとも行き詰まっていますか?ボットに尋ねましたが、彼は諦めました。

ありがとう。

@codinghorror ジェフ、これがあなたの注意を引いたかどうかはわかりませんが…

ご検討ありがとうございます。

必要な順序を作成するためにトピックのタイムスタンプを編集できますか?たとえば、これらのタイムスタンプを1時間間隔(00:00、01:00、02:00)に変更しました。そうすれば、「レッスン1.1、レッスン1.2など」を後で追加したい場合に、タイムスタンプを少し調整することで、間に最大59個の追加トピックを挿入できます。それはあなたのために機能しますか?

(カテゴリが「作成日時」順になっている状態)。

ただし、返信が付いた後にタイムスタンプを変更すると、返信のタイムスタンプも変更されますが、新しいものを追加する場合は、何も影響しない可能性があります。

ただし、カテゴリのトピックの順序を設定することを許可することの代替にはならないことは認めます。それが理想的な解決策かもしれません。:slight_smile:

「いいね!」 1

はい、それが回避策ですが、もちろん、コミュニティによって構築されたソフトウェアソリューションの利点は、おそらくそれを回避できるということです…

@JammyDodger ありがとうございます

「いいね!」 2

ログインユーザー向けの新しい /filters エンドポイントができました。(全トピックはこちら)

@tgxworld に確認したところ、order:title はそれほど難しくなく、彼が追加したものがレビューとマージ待ちの状態になっているようです。

これで対応可能でしょうか?

「いいね!」 3

管理者がこれを特定のトピックのデフォルトに設定できれば、それで十分です。ありがとうございます @nat

それが機能していることを知る方法はありますか?