added crucial http request Method check in HttpJsonRequest
fixed CustomSorting test