Skip to main content
1 of 3
Adnan
  • 44.5k
  • 6
  • 82
  • 246

#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

Try it online!

Adnan
  • 44.5k
  • 6
  • 82
  • 246