Yes, the order matches. This allows you to perform additional processing on the records and match them up with other info, such as creating new linked records. Note that if you created the new records in batches, you may need to merge the record IDs from those batches.