3
votes
Sort Best First
Some case studies:
The good: Much of the time, vote-weighing order successfully puts first a better-quality answer than the most popular one as measured by naïve score sort.
Under “Passing a string ...
3
votes
Accepted
Is there any way or script to sort questions/posts/answers with custom criteria?
You can filter (not sort) questions (and to some extent answers) by using the /search/advanced route of the API.
The q parameter allows most of the Advanced Search Options.
For example, this will ...
2
votes
Is there any way or script to sort questions/posts/answers with custom criteria?
No, the API has a limited number of sort options (just like the website itself). The best you can do with the API is to fetch all results and then perform a client-side sort.
Alternatively, use SEDE ...
2
votes
Are the revisions returned by /posts/{ids}/revisions guaranteed to be returned in descending order?
I think creation_date is a default/universal sorting, unless activity_date is available. (But you know what they say happens when you "ASSUME".)‡
Evidence for:
Seems like it would be required ...
1
vote
Wrong sorting parameter in documentation for question/{ids}/answers
No, I think this is intentional. The word on the left side is the value of the sort parameter:
while the word on the right side is a field name of the answer object:
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
sort × 27support × 12
bug × 10
api × 7
api-v2.2 × 7
status-completed × 5
questions × 5
feature-request × 4
status-bydesign × 4
discussion × 2
api-v2 × 2
documentation × 2
tags × 2
users × 2
answers × 2
script × 1
app × 1
comments × 1
python × 1
api-v2.1 × 1
voting × 1
revisions × 1
rss × 1
events × 1