Add JSON API sorting by job id

* Use redis SORT
* order now support: asc, desc, byId:asc and byId:desc