vim sort 命令
Sort file content from Vim as shown below.
1. :sort -- Sort in ascending order
2. :sort! -- Sort in descending order
3. :sort i -- Ignore case while sorting
4. :sort u -- Remove duplicate lines.
Sort file content from Vim as shown below.
1. :sort -- Sort in ascending order
2. :sort! -- Sort in descending order
3. :sort i -- Ignore case while sorting
4. :sort u -- Remove duplicate lines.