in reply to Re^2: Compare large files
in thread Compare large files

Be warned. In Linux you generally should set the environment variable LC_ALL to C before using sort. Otherwise its idea of sorted order does potentially inconvenient things like:
1,10 11,1 1,123
(What? You were expecting all of the things with ID 1 to be grouped together? Silly programmer, read the documentation!)