#05AB1E, 9 bytes
Code:
2FIlð-{}Q
Explanation:
2F } # Do the following twice
Il # Read a line of input and convert to lowercase
ð- # Remove spaces
{ # Sort the string
Q # Compare the two of them
This looks like the exact same submission of Luis Mendo Don Muesli