Hello! I'm not sure to understand your use case: why are you going to merge the "merge and deduplicate" output with the initial data? Is some data missing from the final dataset?
Usually, datasets are not ordered, and this Actor makes no exception: if you want to order the data, you would probably want to write a script to do it, or use the sorting capability of Google Sheets, Microsoft Excel, and similar.
You could also take a look at
this Actor, which has an option to keep the original order while deduplicating, but is more complicated to use and requires to setup a custom transformation function.