# Sort topics (within category) in alphabetical order by default

**URL:** <https://meta.discourse.org/t/sort-topics-within-category-in-alphabetical-order-by-default/25350>\
**Category:** Product Support\
**Created:** [18 فبراير 2015، 9:38ص UTC](https://meta.discourse.org/t/sort-topics-within-category-in-alphabetical-order-by-default/25350 "2015-02-18T09:38:39Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![DigNeurosurgeon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/digneurosurgeon/32/115658_2.png) [@DigNeurosurgeon](https://meta.discourse.org/u/DigNeurosurgeon)\
**Post date:** [18 فبراير 2015، 9:38ص UTC](https://meta.discourse.org/t/sort-topics-within-category-in-alphabetical-order-by-default/25350/1 "2015-02-18T09:38:39Z")

</div>

I know that the issue has been [discussed before](https://meta.discourse.org/t/what-is-the-sort-order-for-topics/6856) and some progress has been made (and that many disagree that alphabetic sorting on topic title is useful), but to me it is. I am experimenting with Discourse to see if I can use it to replace [NeuroDSS.com](http://NeuroDSS.com) which contains neurosurgical classification and grading systems. The option that users can add their own classifications (and more) and discuss them on site is a great **side** benefit. Primarily however, I want users to go to categories easily and find the content they are looking for.

I managed to get the categories view first when accessing [NeuroMind.cc](http://neuromind.cc), and modified @sam’s [Minimal Topic List Design](https://meta.discourse.org/t/sams-personal-minimal-topic-list-design/23552) to allow the user to sort topics in alphabetical order by changing this piece in the header :

```
<script type='text/x-handlebars' data-template-name='topic-list-header.raw'>
    {{raw "topic-list-header-column" sortable='true' order='topic.title' name='topic.title'}}

```

This works, but the user still has to perform the sorting manually. How can this be done as a default setting when the category is opened?

Side note: I also changed

`{{raw "topic-list-header-column" sortable='true' number='true' order='replies' forceName='Replies'}}`

(in the original post it said `order='posts'` and it gave some side effects, guess that is a typo)

Any help would be greatly appreciated!

Pieter

---

_[View the full topic](https://meta.discourse.org/t/sort-topics-within-category-in-alphabetical-order-by-default/25350)._
