Compare 200,000 of rows in two text files

Friends,

I have two very large plain text files with pipe delimited as below.
Both files are not sorted.
Both files have 200,000 of rows.

FName|LName|Address|HPhNumber

Is perl or shell script feasible for this task?

Thanks,
Prashant

This shell script may do what you are after?

sort file1 > file1.sorted
sort file2 > file2.sorted
sdiff file1.sorted file2.sorted