Open
Description
How difficult would it be on the API backend [or, would it make sense] to sort lists of items by some relevant field? Right now, some lists are sorted according to some kind of useful order; others look shuffled.
Specifically:
https://api.w3.org/specifications
: random order, apparently; sort bytitle
?- Ditto
https://api.w3.org/groups/32061/specifications
. https://api.w3.org/affiliations?embed=true
: sorted numerically byid
(not very useful); sort byname
instead?- Be consistent in the order by which people are sorted.
These three seem to be byfamily
(good):
https://api.w3.org/groups/32061/users?embed=true
https://api.w3.org/groups/32061/chairs?embed=true
https://api.w3.org/groups/32061/teamcontacts?embed=true
.
But these two are not sorted (?):
https://api.w3.org/participations/1503/participants?embed=true
https://api.w3.org/affiliations/52794/participants?embed=true
.
There may be others (I'll add here if I find them).
Most clients I can think of will have to sort those lists themselves anyway. (That's the case with Apiary and Unitas, at least.) Doesn't it make more sense to sort them on the server before returning them?