Questions tagged [sort]
Use this tag if you have a question about the Sort parameter.
7 questions
8
votes
1
answer
124k
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 ...
2
votes
1
answer
55
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 ...
5
votes
1
answer
108
views
Is it possible to have no sorting - to just show results in order of inputted IDs?
I'm trying to send multiple IDs at once (up to a max of 100), but need to use the data in the same order I send the request with.
So, if I send IDs in an arbitary order like 4;1;3;2, I would like to ...
2
votes
1
answer
138
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
1
answer
102
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 ...
1
vote
1
answer
79
views
How to sort /questions/featured by bounty_closes_date
The API documentation describes tthe usage of /questions/featured. Unfortunately there does not seem to be a way to sort the result by bounty_closes_date, which is IMO the sort option making most ...
1
vote
1
answer
68
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 ...