Sorting function for words in sentence detail view.
Merge branch 'master' of github.com:OpenPhilology/phaidra