Skip to main content
2 of 2
deleted 130 characters in body
miles
  • 17.3k
  • 2
  • 31
  • 95

Jelly, 4 5 bytes

Ṣm0ẇ@ 

Try it online!

Originally was Ṣm0w at four bytes.

Explanation

Ṣm0ẇ@ Input: string S Ṣ Sort S m0 Concatenate sort(S) with reverse(sort(S)) ẇ@ Sublist exists? Check if S is contained in the previous result 
miles
  • 17.3k
  • 2
  • 31
  • 95