Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Meta

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Comments on Sorting answers by score appears to be broken

Parent

Sorting answers by score appears to be broken

+4
−0

https://software.codidact.com/posts/277536/278390?sort=score

At the point when I'm posting, the answer by Lundin has +14 score and the answer by dmckee‭ has +11 score. Neither has any down votes.

Yet when I sort by score, it doesn't show the answer with highest score first. Clicking on "score" doesn't help. The site appears to be sorting by activity still, or not sorting at all.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

2 comment threads

another example (different symptoms) (3 comments)
This is intended behavior (see also) (1 comment)
Post
+6
−0

This is both by design.

Lundin's example is an answer link, which intentionally puts the selected answer at the top of the answer list. Because we only have two answers here, this isn't as intuitive as with more answers. (Explanation with reasons.) To reduce confusion, we have now added a notice above the answer when it is shown out of order, like this:

You are accessing this answer with a direct link, so it's being shown above all other answers regardless of its score. You can (return to the normal view (that's a link)).

Monica's behavior is also by design. When you hover the voting blocks, you can see that all three posts have the exact same score (0.5). In these cases, the answers are sorted randomly (as proposed in and implemented upon this request)

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

What about the score button? (3 comments)
What about the score button?
Lundin‭ wrote over 3 years ago

When I click on the score button, I explicitly want to sort the answers by score. But it doesn't happen. If this is by design, then why is the button there, since it does nothing?

Moshi‭ wrote over 3 years ago · edited over 3 years ago

Lundin‭ It doesn't do nothing, it puts the linked answer at the top and then sorts by score. It's only useless when there is only one other answer, but that's the same uselessness as when there is only one answer total in normal view.

luap42‭ wrote over 3 years ago

We've added a banner above answers floating to the top informing you about the fact and containing a link to return to normal order, this should clear this confusion. Beyond that, Moshi‭ is correct.