Questions tagged [sort]

Use this tag if you have a question about the Sort parameter.

Filter by
Sorted by
Tagged with
8 votes
1 answer
122k 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 ...
Jonathan.'s user avatar
  • 3,128
2 votes
1 answer
50 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 ...
Glorfindel's user avatar
  • 6,762
5 votes
1 answer
99 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 ...
ᔕᖺᘎᕊ's user avatar
  • 4,365
2 votes
1 answer
128 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": ...
Dave DeLong's user avatar
  • 5,264
1 vote
1 answer
99 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 ...
Amal Murali's user avatar
1 vote
1 answer
62 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 ...
Gary S. Weaver's user avatar
1 vote
1 answer
76 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 ...
kriegaex's user avatar
  • 121