Keep query values data type when sorting
Keep query values data type when sorting

Query values can be an array when the :flat_array notation option is used on the query mapper, so this conversion to hash is removing repeated query params (which can exist).

This is a fix for bblimke/webmock#227
maruware/webmock,spjsschl/webmock,ixti/webmock,sinisterstuf/webmock,arronmabrey/webmock,henrik/webmock,taiki45/webmock,bblimke/webmock,avantcredit/webmock,VincentZhao/webmock,xuwupeng2000/webmock,davidbegin/webmock,Omnihuron/webmock,hilben/webmock,hobodave/webmock