updated the batch response to return results sorted in the original order of the requests made