I have two properties files that contain information. I would like to diff them to see if they are the same. However, in properties files, unless you specify an order to output they write to a file in a different order. I don't have access to the code just these files. How can I check if their contents are the same?
For example,
File1 File2
a e
b c
c a
d d
e b
How can I detect that these two files would be the same? a-e represent strings of information
Thanks!