json server
npm install -g json-server
Source: github.com
json server sorting
GET /posts?_sort=views&_order=asc GET /posts/1/comments?_sort=votes&_order=asc
Source: www.npmjs.com