Allow reordering of the order list with the REST api
REST API: allow ordering change
Removing ordering code from orders

This code got moved to the resources file.
Merge pull request #5125 from sparkweb/master

[2.2] REST API: Allow ordering on the resource level