How to order topics, by the topics which has been commented latest?

Im trying to order my topics based on which one has been commented the latest.
I don´t if there is some kind of flag or some built in plugin in discourse, which I can use.
I know that you can use the “order” keyword to sort by latest and created_at.

The Latest order displays the most recently replied-to topics.

The New order shows the topics most recently created.

3 Likes

Thanks for the reply!
Should it be like this?

https://meta.discourse.org/t/.json?order=Latest
https://meta.discourse.org/t/.json?order=New