The sort tag has no wiki summary.
1
vote
1answer
13 views
Ability to sort answers by number of revisions via StackExchange API v2?
I was curious whether there was a way to easily find which StackOverflow answer has the highest number of revisions and/or to sort by that metric.
I see mention of a sort function in the ...
1
vote
1answer
57 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": ...
1
vote
1answer
18 views
Can I get the FAQ ordering via the API?
StackExchange sites have a feature to order by FAQ, e.g.:
Screenshot
This is in fact an ordering by the number of related questions and often produces very nice results.
Can you get that ordering ...
3
votes
1answer
70 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?
...
0
votes
1answer
5k views
sorting ascending vs descending
I don't understand the difference between ascending and descending?
Surely ascending means the most active/recent/popular/A first, and descending means the least active/recent/popular/Z first?
But it ...
3
votes
2answers
57 views
Sorting comments by votes doesn't return 0 score comments
I have a query:
http://api.stackoverflow.com/1.0/users/16822/comments?sort=votes
This doesn't return comments with no votes, setting min to 0 doesn't work. This query includes them all, but isn't ...
2
votes
1answer
79 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 ...
3
votes
2answers
167 views
What does min and max mean when sort is “activity” or “hot”?
Does they mean anything actually? There was an "issue" when you needed to add min=0 to queries to actually get the answers instead of nothing. Just checked that this is not the case anymore, but was ...
1
vote
1answer
56 views
Inconsistent sort ordering on users?
I'm trying to get a list of the 10 oldest users. This is the endpoint I'm using:
http://api.stackoverflow.com/0.8/users?key=(key)&order=asc&sort=creation&pagesize=10&page=0
...
2
votes
1answer
73 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
2answers
52 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 ...
0
votes
1answer
73 views
How to sort answers to question?
If I retrieve a question like so:
http://api.stackoverflow.com/0.8/questions/1429951&sort=votes
I expect the answers to be sorted by votes, but they're not.
How can I do this?
1
vote
1answer
111 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 ...
4
votes
1answer
76 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 | ...