Sort
gryphonmyers opened this issue · 4 comments
gryphonmyers commented
I didn't see any mention of this in the specification, so I'll ask: should clients be able to specify sort order? Without the ability to sort, clients may be limited in terms of user-friendly views they can render. If sort is not supported, then what order should documents be sent in?
sampsyo commented
Good question. I think we should probably add sorting to the spec—and, fortunately, JSON-API has a recommendation for how to do that:
https://jsonapi.org/format/#fetching-sorting
gryphonmyers commented
Oh nice! This looks like an elegant solution and should be straight-forward to incorporate into the spec.