reyesoft / ngx-jsonapi

JSON API client library for Angular 5+ 👌 :: Production Ready 🚀
https://ngx-jsonapi.reyesoft.com/
MIT License
101 stars 52 forks source link

Proper way to sort data #84

Closed OpticNectar closed 6 years ago

OpticNectar commented 6 years ago

I have paginated data coming in from the server and I need to be able to sort the data. I have the sorts working properly on the server side, but obviously this package sorts by Id automatically so it ignores any sorting. Is there a way you recommend or know of that will all the data to be sorted or is this just a huge flaw in this package?

MikaStark commented 6 years ago

Up

OpticNectar commented 6 years ago

I'd be willing to throw some money towards this fix if someone could add it into the main package or make a fork that sorts based on the server or has a way to sort.