This expression:
sort words "fire water earth fire"
---
Couldn t match expected type `[a]
against inferred type `GHC.Base.String -> [GHC.Base.String]
Could someone explain to me what is going on here and how to elegantly express sort.words?