Sort Lines in Sublime Text
Sort Lines Shortcuts
Sort Lines Ascending
F5 (case-sensitive A→Z).
Sort Lines Descending
Ctrl-F5 (Z→A).
Case-Insensitive
Cmd-F5 (Mac) or Ctrl-Shift-F5 (Windows).
Sort a Selection
Highlight specific lines first — the sort applies only to those.
Master Web Development at Noble Desktop
Noble Desktop's Full-Stack Web Development Certificate covers HTML, CSS, JavaScript, and the modern web stack.
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).
