Sublime text 2 - how to arrange the list of words in alphabetical order (DESC / ASC)

Is there a way to arrange a huge list of words in alphabetical order?

eg:

Hey Salcaiser Ok Here Strange Weird Gosh 

Huge I mean about 500/1000 words (1 word per line) I'm on Mac OSX

+86
sorting alphabetical-sort sublimetext2 sublimetext order word words
Jan 25 '14 at 9:53
source share
5 answers

Somehow I found this somewhere. It worked for me. “To sort the alpha, select the lines you want to sort, and press F5. This option ignores capitalization. Hitting Control F5 first sorts the lines starting with capital letters, and then the letter lines starting with lowercase letters.”

"The Permute Lines menu options provide several more sorting options, including Reverse, which sorts in reverse alpha order, starting with lowercase letters, Unique, which removes duplicate lines, and Shuffle, which sorts random data for text."

Hope this helps .. :)

I think a screenshot of General Redneck will help. So I add it:

enter image description here

In v2.0.2, there is F9 on the Windows and Ubuntu shortcut.

+144
Jan 25 '14 at 10:01
source share

For those who find this question and are unlucky with the answer of Rashad F5, in my copy of Sublime Text 3, the default label is “Sort Lines” by default is F9, and “Sort Lines (Case Sensitive)” is Ctrl + F9. See the Edit menu.

I know that this does not directly answer the question, but I hope that he will save a couple of people in a few minutes.

enter image description here

+47
May 10 '14 at 7:59
source share

you select the text and:

On WindowsOS, only the "f9" key is used,

MacOS fn + f5 keys

Hello

+10
May 27 '15 at 13:51
source share

Using sublime 2, I found that it is built-in. ya is so comfortable, I am also surprised ..: D

{"keys": ["f9"], "command": "sort_lines", "args": {"case_sensitive": false}},

 { "keys": ["ctrl+f9"], "command": "sort_lines", "args": {"case_sensitive": true} }, 

Just select the lines and click the shortcut.

+4
Nov 10 '14 at 0:29
source share

You select the text and:

On WindowsOS, there is only the "f9" key,

MacOS fn + f5 keys

Or you can search Google for “Online alphabetical sorting tools,” and then many tools will appear on Google.

-one
Dec 14 '15 at 6:37
source share



All Articles