Add sorting support for resources when using the REST v2 Resources Service