I think the best way to do it is:
Save the array of orders to the Storage variable
Save the current index of the order (which you call in this function) there as well
Call the function on the success event of the previous one with increasing that index value and using the appropriate order from the Storage variable