# Functionality

Sort lines of text in Visual Studio Code. The following types of sorting are supported:

- `Sort lines` - Regular character code based sort (F9)\*
- `Sort lines (case insensitive)` - Case insensitive sort
- `Sort lines (line length)` - Sort lines by line length
- `Sort lines (reverse)` - Reverse character code based sort
- `Sort lines (unique)` - Regular character code keeping only unique items
- `Sort lines (shuffle)` - Shuffles the lines randomly

\* *Note that this overrides the toggle breakpoint keybinding, you can unbind it by adding this to your `keybindings.json` file:*

    `{ "key": "f9", "command": "-sortLines.sortLines", "when": "editorTextFocus" }`

# Install`

1. Open VS Code
2. Press F1
3. Type "install"
4. Select "Extensions: Install Extension".
5. Select sort-lines from the list

![Install animation](images/install-animation.gif)

# Usage

Select the lines to sort, press F1 type sort and select the desired sort. The regular sort has the default hotkey F9.

![Usage animation](images/usage-animation.gif)

# Functionality

Sort lines of text in Visual Studio Code. The following types of sorting are supported:

- `Sort lines` - Regular character code based sort (F9)\*
- `Sort lines (case insensitive)` - Case insensitive sort
- `Sort lines (line length)` - Sort lines by line length
- `Sort lines (reverse)` - Reverse character code based sort
- `Sort lines (unique)` - Regular character code keeping only unique items
- `Sort lines (shuffle)` - Shuffles the lines randomly

\* *Note that this overrides the toggle breakpoint keybinding, you can unbind it by adding this to your `keybindings.json` file:*

    `{ "key": "f9", "command": "-sortLines.sortLines", "when": "editorTextFocus" }`

# Install

1. Open VS Code
2. Press F1
3. Type "install"
4. Select "Extensions: Install Extension".
5. Select sort-lines from the list

![Install animation](images/install-animation.gif)

# Usage

Select the lines to sort, press F1 type sort and select the desired sort. The regular sort has the default hotkey F9.

![Usage animation](images/usage-animation.gif)

Remove backtick character from install heading.
Remove backtick character from install heading.