Added sorting of Texts.