Further ideas

The recursion of sentenceAnagrams(remainingSentence) looks promising,
but I can't figure it out.