same as wordsortwithoutsort but makes sure that case is ignored