Added a function which gives back a string which is generated by sorting the returnfields requested for given query specifications
Added a function which gives back a string which is generated by sorting the returnfields requested for given query specifications