# Custom Topic Sort Order Button

**URL:** https://meta.discourse.org/t/custom-topic-sort-order-button/380530
**Category:** Theme component
**Created:** [August 27, 2025, 1:52pm UTC](https://meta.discourse.org/t/custom-topic-sort-order-button/380530 "2025-08-27T13:52:44Z")
**Posts on this page:** 1
**Showing post:** 11

<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: [September 8, 2025, 12:24pm UTC](https://meta.discourse.org/t/custom-topic-sort-order-button/380530/11 "2025-09-08T12:24:53Z")

</div>

It’s merged.

 ![Screenshot_20250908_142040_Firefox](https://global.discourse-cdn.com/meta/original/4X/0/c/1/0c1bbfc39d1b612c298a73fdb32b28a76be51f71.jpeg)

> **Icons and labels I chose for the additional order options**
>
> ```plaintext
> {
> "icon": "custom-heart-circle-one",
> "label": "js.category.sort_options.op_likes",
> "action": "op_likes"
> },
> {
> "icon": "user-group",
> "label": "js.posters",
> "action": "posters"
> },
> {
> "icon": "far-square",
> "label": "js.category.sort_options.category",
> "action": "category"
> },
> {
> "icon": "square-plus",
> "label": "js.topic_voting.vote_title_plural",
> "action": "votes"
> }
> 
> ```

I did not add these to the default configuration as I think these are less common. But when you add them, you can now also order by likes on the first post, number of posters, category ID, and by number of votes when the topic voting plugin is used.

I created an icon for likes on OP so you can distinguish between likes and likes on the first post even when labels are hidden on mobile.

---

_[View the full topic](https://meta.discourse.org/t/custom-topic-sort-order-button/380530)._
