Added unified sort

I added a quick implementation of the word/letter sorting functions. we
can move this to a different file if we need to, but this is the idea.
Merge branch 'master' of https://github.com/spockNinja/anagrams