As far as sorting your inbound Params, you should be able to use something like this (also attached)
this takes the inbound query params, loads it into an xml doc, then sorts via XSLT, then coverts it back to a string that can be used for the Next call to the backend.
Im also assuming your input is like this:
https:// host:port/SomeService?email=V1&coupon=V2&include=V3&channel=v4