Compare 2 CSV/excel file having lakhs of rows and multiple columns efficiently

I have a sceanario where I have 20+ columns and lakhs of rows of data in CSV/excel format.
What should be the approach or effective way to compare these files in minimum time.
Also how can the files be sorted so that comparison happens faster.