My interpretation of the OPs remark was that the data is spread across multiple files because it will not
fit in one - that is >1,048,576 rows &/or greater than Excel's column limit.
If the data files are very big it would also mean that a sorting formula solution would probably grind the sheet to a halt.