Skip to main content

Timeline for How to sort answers to question?

Current License: CC BY-SA 2.5

6 events
when toggle format what by license comment
May 30, 2010 at 6:24 comment added Kevin Montrose @George - /questions/{id} only gives you the first "page" of answers anyway. If its the full set of answers (by answer_count) you should do the sort locally. Otherwise a second request is necessary anyway, might as well have the sorting done on our end.
May 30, 2010 at 5:45 comment added Nathan Osman @Kevin: Oh, okay. I just thought it was wasteful to fetch the question and then all the answers. I guess it won't hurt if the first request has body=false set.
May 30, 2010 at 5:23 comment added Kevin Montrose @George - OR you could take the questions/{id}/answers route and specify sort. sort on /questions/{id} applies to the question(s) returned. {id} is vectorized in both cases (in all cases, infact).
May 29, 2010 at 21:10 comment added Nathan Osman Hmmm... I never thought of sorting on the application side. I'll look into that.
May 29, 2010 at 20:57 history edited nobody CC BY-SA 2.5
added information about sorting
May 29, 2010 at 20:51 history answered nobody CC BY-SA 2.5