# Sort by likes in 2.5.0.beta6

**URL:** <https://meta.discourse.org/t/sort-by-likes-in-2-5-0-beta6/154333>\
**Category:** Product Support\
**Created:** [9 ביוני,‏ 2020,‏ 6:46pm UTC](https://meta.discourse.org/t/sort-by-likes-in-2-5-0-beta6/154333 "2020-06-09T18:46:44Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jabeler](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jabeler/32/492320_2.png) [@jabeler](https://meta.discourse.org/u/jabeler)\
**Post date:** [9 ביוני,‏ 2020,‏ 6:46pm UTC](https://meta.discourse.org/t/sort-by-likes-in-2-5-0-beta6/154333/1 "2020-06-09T18:46:44Z")

</div>

Previously, we were using @sam’s [suggestion](https://meta.discourse.org/t/sort-filter-by-likes/26193/4) to provide an option to sort topics in a category by likes, but as of 2.5.0.beta6 this appears to no longer be working.

`TypeError: undefined is not an object (evaluating 'Discourse.SiteSettings.top_menu = 'categories|latest|top|new|unread'')`

Is there a new method to enable this functionality?

---

_[View the full topic](https://meta.discourse.org/t/sort-by-likes-in-2-5-0-beta6/154333)._
