69

The answers on Stack Overflow used to be ordered by the following rule:

Accepted answer first followed by non-accepted answers in decreasing order of score.

However, now it seems to use the time of answer to order the answers.

For instance in this question, my answer was first and has the highest score but appears (for me) at the bottom of the list of answers.

9
  • 13
    There are sorting tabs at the top of the answers section, you probably selected one you're not used to.
    – Mat
    Commented Jun 23, 2014 at 12:13
  • 2
    You picked a different sort order, sorting by activity. Only sorting by votes or by oldest would put your post at the top. Commented Jun 23, 2014 at 12:14
  • 1
    thanks for asking, I can't even recall ever having clicked on it but only today noticed something was different with the order of the answers
    – Samuel
    Commented Apr 21, 2015 at 11:59
  • 2
    Came here with the same question.... Maybe a signal that the UI could be cleaned up in this respect? Commented Sep 14, 2017 at 12:28
  • 3
    Many years later and still the same issue! I also have no memory of ever clicking on it and didn't notice it's existence. Is there any data on user settings here? Seems like an issue that can break a user experience, but probably is never used.
    – Mars
    Commented Oct 3, 2019 at 0:43
  • 1
    On MSE: Answers no longer sorted by score/votes. Commented Aug 8, 2021 at 10:53
  • how to permantly set to highest score? I change it on any question but whenever I leave and come back its sorted by newest first, with all the espam answers recently its quite annoying
    – Olli
    Commented Dec 22, 2022 at 15:53
  • @Olli it should save your preference. When I set it it is set permanently so perhaps it's an issue with cookies on your computer or something?
    – Fogmeister
    Commented Dec 22, 2022 at 16:48
  • hmm, @Fogmeister I have this on both my laptop and desktop. I'll try clearing cookies on both
    – Olli
    Commented Dec 23, 2022 at 10:41

1 Answer 1

88

Your answer is sorted first provided you pick the right sort order:

answers with tab to alter voting order circled

If you sorted by oldest yours would be listed first as well. When sorting by active instead, your post is sorted last.

Your sort preference is persisted; if you picked a different sort order on a different question, then until you change the setting, all question pages will use that sort order.

This applies to just most 'tab' options on the site; the big exception I can think of is the search results (which sort by relevancy instead). Keep that in mind when results are unexpected, like no questions for a popular tab because you picked the 'featured' tab while there are no bountied questions for that tag at that time.

If you have the keyboard shortcuts preference enabled, it'll be relatively easy to accidentally change the sort order; all it takes is typing O-A or O-O to switch to Active or Oldest sort order, respectively. This is especially easy to miss if you disabled the H automatic help dialog that appears after typing O. Type in O-V to go back to sorting by votes.

8
  • 1
    Worth noting, the sorts on the main page have the same 'sticky' behavior (I just deleted my answer that duplicated this one)
    – user50049
    Commented Jun 23, 2014 at 12:20
  • @TimPost: heh, added a short paragraph on this applying to almost all tab options. :-) Commented Jun 23, 2014 at 12:25
  • 2
    This is very poor UX. I have no idea why the other sort orders exist, so it never would have occurred to me that pressing some keys would have silently changed to one of them (permanently!). Thank goodness for this question. Commented Nov 15, 2019 at 21:42
  • 2
    @RadonRosborough: the keyboard shortcuts need to be enabled explicitly, and include context-sensitive help. When you have them enabled and you use ?, you get a menu of options including O: order answers by .... When you first start using them, autohelp is also enabled, which pops up a menu the moment you use the O key, showing you what next key is needed to sort the answers. I'm not sure how much better the UI for a feature that's meant to avoid having to use the GUI can be here?
    – Martijn Pieters Mod
    Commented Nov 16, 2019 at 15:45
  • 1
    @MartijnPieters is it just me or has the O shortcut disappeared? I can't find it in the help list and when pressing O nothing happens
    – JensV
    Commented Apr 19, 2020 at 12:39
  • @JensV: no, I had noticed it has been removed recently, too.
    – Martijn Pieters Mod
    Commented Apr 20, 2020 at 20:31
  • Just going to have to agree with others... I even tried to find sorting options on the page and couldn't... that missing <hr/> makes a huge difference to the usability for me.
    – emragins
    Commented Aug 8, 2020 at 1:18
  • Wth happened to the O shortcut? Please bring it back
    – huyz
    Commented Jan 31, 2023 at 17:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .