This is possible to do, however not sure why you would want to sort the items using a URL parameter when we have the option to have frontend sorting control.
Perhaps providing a bit more details will allow me to understand your exact use case a little better because as it stands it would be more efficient to use the frontend sorting controls that our views search provides.