Allow sorting parameters to be passed in payload