Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime text 2 - how to order a list of words alphabetically (DESC / ASC)

Is there any way to order a huge list of words alphabetically?

for example:

Hey Salcaiser Ok Here Strange Weird Gosh 

By huge i mean about 500/1000 words (1 word per line) I'm on Mac osx

like image 241
itsme Avatar asked Jan 25 '14 09:01

itsme


People also ask

How do I alphabetize in Sublime Text?

Sublime Text allows you to quickly sort lines alphabetically. Select the lines you want to sort and choose Edit > Sort Lines. You can also use the keystroke F5 (Mac) or F9 (Windows).


1 Answers

Once I've found this somewhere. It worked for me. "For alpha sort, select the lines to be sorted and hit F5. This option ignores capitalization. Hitting Control F5 will sort lines starting with capital letters first, then alphabetize lines starting with lowercase letters."

"The Permute Lines menu options provide a few more ways to sort, including Reverse, which sorts in reverse alpha order, starting with lowercase letters, Unique, which removes duplicated lines, and Shuffle, which sorta kinda randomizes the text."

Hope this helps.. :)

I think General Redneck's screenshot will help. So I am adding it:

enter image description here

In v2.0.2 on Windows and Ubuntu shortcut is F9.

like image 164
Rashad Avatar answered Sep 22 '22 17:09

Rashad