11

On Stack Overflow, whenever I go on the page for a question, the default sort order is "Date modified (newest first)" instead of "Highest score (default)" which looks like it should be the default since it's mentioned to be the default.

I looked in the settings, but I couldn't find an option to change the default sorting of answers. Also, this only happens on Stack Overflow, but not on the other communities like Unix & Linux.

So, how can I set the default sorting to be "Highest score (default)"?

Edit: I'm adding details to address the questions in the comments.

Here's how I can reproduce it:

  • I choose a random question and see it's sorted by "Date modified".
  • I click "Reset to default".
  • It sorts by "Highest score".
  • I choose another random question and it's back to "Date modified".
  • I set it to "Highest score" using the drop-down and it sorts by "Highest score".
  • I choose another random question and it's back to "Date modified".

So it doesn't remember the last one I chose. It keeps resetting to "Date modified".

The URL doesn't contain ?answertab=modifieddesc as I choose a question from the homepage.

13
  • 4
    Is it not sticking? The system automatically remembers the last sort you used... if you keep switching to highest and it keeps resetting to date modified... then there's a bug but it's unclear whether that's the case from your question... and it works as expected for me. :)
    – Catija Staff
    Commented May 10, 2022 at 16:09
  • 2
    It is supposed to be saved - are you saying it keeps resetting for you?
    – 0Valt
    Commented May 10, 2022 at 16:10
  • There should be a "Reset to default" link beside the sorting option, or you can just change it manually from the drop-down. Otherwise, a possible cause is you (accidentally) accessed a URL ending with ?answertab=modifieddesc that will automatically change the sorting to "Date modified (newest)"
    – Andrew T.
    Commented May 10, 2022 at 16:27
  • I edited my question to answer your questions.
    – antoyo
    Commented May 10, 2022 at 17:15
  • Weird, I can't repro using the steps you outlined - which browser/version are you using?
    – 0Valt
    Commented May 10, 2022 at 17:19
  • Firefox 100. Weird: I just logged into Chrome and that fixed the issue for other browsers as well.
    – antoyo
    Commented May 10, 2022 at 17:23
  • might be that the preference is stored server-side as opposed to client-side? I am a bit fuzzy on the details. cc @Catija
    – 0Valt
    Commented May 10, 2022 at 17:24
  • 2
    @OlegValteriswithUkraine Must be server-side. If I change the sort on my phone, it changes it on my desktop.
    – Catija Staff
    Commented May 10, 2022 at 17:47
  • 1
    @Catija yeah, server-side. I finally made my lazy *** to go and check: a POST request to the /questions/<id> enpoint with fkey to identify the user and sortOrderPreference with the new preference.
    – 0Valt
    Commented May 10, 2022 at 17:54
  • 1
    Is there any updates on this? I'm having the exact same issue as well. It always gets reset to date modified. (Safari 15.6.1 macOS) Commented Oct 12, 2022 at 18:20
  • I'm having the same problem here. Safari 16.0
    – wst
    Commented Nov 15, 2022 at 22:55
  • I was having this issue, too. Whenever I clicked the "Reset to default" it would sort the way I wanted, but the next question would always go back to "date modified". I just tried selecting a few different options directly from the dropdown box and now it seems to be "remembering" what was set in the box from question to question.
    – David
    Commented Apr 7, 2023 at 21:26
  • Same problem here. Using Firefox on Windows. Best bet: Upvote the question and give it prominence on the homepage. Someone will take an interest and maybe fix it.
    – Beth
    Commented Nov 12, 2023 at 3:55

0

You must log in to answer this question.

Browse other questions tagged .