fixes #6271 sortByCharacter all = null