Questions tagged [sort]
Use this tag if you have a question about the Sort parameter.
27 questions
10
votes
1
answer
764
views
Sort Best First
Inspired by the Fastest Gun question on the central Meta, this script implements answer sorting based on a modified Wilson score. Installing the script adds a ‘Modified Wilson score’ sort option on ...
9
votes
0
answers
319
views
Answerable, a recommender of unanswered questions
About
Answerable is a Python program that finds unanswered questions on Stack Overflow that you could be able to answer.
Background
At first I didn't know about the StackExchange API, so I planned to ...
1
vote
1
answer
101
views
Wrong sorting parameter in documentation for question/{ids}/answers
It looks like that in the question/{ids}/answers documentation, there is a mistake:
votes – score
Shouldn't this be
votes – votes
2
votes
1
answer
85
views
Are the revisions returned by /posts/{ids}/revisions guaranteed to be returned in descending order?
The /posts/{ids}/revisions method returns all revisions to a post, but it doesn't have the sort and order parameters most methods have. From some quick tests, e.g. this one, I think it always returns ...
3
votes
0
answers
101
views
/synonyms sorting is majorly broken
I'm requesting /tags/synonyms data in descending order by creation date, but the order is jumbled up:
The first date is 2017-08-22 where as the second one is 2018-03-16. The same can be observed for ...
1
vote
1
answer
119
views
Absence of `order` and `sort` in rest calls?
Will absence of order and sort give the same result as order=desc and sort=activity always in every call (it is default in every call)?
1
vote
1
answer
192
views
Why is sort by name reverse alphabetical?
It makes sense that reputation or date should sort descending, but name? I tested both /users and /tags and they sort reverse alphabetical, so Z before A. Is that by design or just a side effect of ...
1
vote
1
answer
129
views
How to sort by the newest question?
I'm trying to retrieve the latest questions posted in a particular tag.
What's the equivalent for:
http://stackoverflow.com/questions/tagged/php?sort=newest&pagesize=15
I see that v1.1 API is ...
2
votes
1
answer
159
views
Sorting the event stream
It seems like the data returned from the /events endpoint is flawed by being returned in descending order. For example:
{
"items": [
{
"event_type": "comment_posted",
"event_id": ...
3
votes
1
answer
109
views
How do you retrieve list of users sorted by reputation?
I am failing in my attempt to retrieve results sorted by reputation. For example, the following query sorts the results by ID. Is there an error in the URI?
http://api.stackoverflow.com/1.1/users/...
2
votes
1
answer
104
views
Paging /users by rep is on sites with low user count unpredictable
Resolution
Fix confirmed:
Tests.SortDupBug
Page 1 #100
Total 11066 api.serverfault.com /users?max=2147483647&min=99&page=1&pagesize=100&key=qgAq_KfDu0KYzlNG-qaTuw
Page 2 #100
Total 11066 api....
2
votes
1
answer
120
views
Question sort: change active to activity?
I noticed the sort newest for /questions, /questions/tagged/{tags} and /questions/unanswered was changed to creation recently, making it more consistent with other methods. Could the sort active for /...
1
vote
1
answer
88
views
Is there a difference between "newest" and "creation"?
When I look at some API endpoints, say /questions/tagged/{tags} and /questions/{id}, I see that the former can be sorted by newest, and the latter can be sorted by creation, both ascending or ...
4
votes
1
answer
132
views
Confirmation on sort, order and min/max
I'd like confirmation, if possible, that the following chart of sort types is correct:
sort |orderable|min/max |min/max type
------------------------------------------
activity | yes | ...