beetbox/aura

Sort

gryphonmyers opened this issue · 4 comments

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?

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

Oh nice! This looks like an elegant solution and should be straight-forward to incorporate into the spec.

Hi, what do you both think of #28 as a first draft?

I think with #28 this is 'solved', so I'll close the issue.