Fetch in loop, keep result order
I have a situation where I need to loop through an array of URLs and fetch the result, but I need to preserve the order of requests, that is the first request should be “saved” (write to a file) first, and so on. The result from the requests are text files and their content do not have any data that reveals the original URL or order.