先安装TextFx插件
The check boxes and buttons required to do this are located in the menu under: TextFX-->TextFX Tools
Make sure "sort outputs only unique..." is checked. Then select a block of text (ctrl-a to select the entire document). Then click "sort lines case sensitive" or "sort lines case insensitive"