ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sort​By

by Doi9t ST2/ST3

A Sublime Text plugin that allows you to sort lines with methods that are not presents by default.

Details

  • 2016.09.27.23.36.08
  • github.​com
  • github.​com
  • 3 years ago
  • 28 minutes ago
  • 6 years ago

Installs

  • Total 11K
  • Win 5K
  • OS X 4K
  • Linux 2K
Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1
Windows 2 1 2 1 1 1 1 3 2 1 1 3 5 5 5 3 1 0 1 4 1 1 0 4 1 0 1 4 3 2 1 0 0 3 1 2 4 4 1 0 1 5 3 5 2 2
OS X 4 0 4 0 0 3 3 3 0 0 2 1 4 3 7 4 2 0 0 0 3 1 3 1 0 2 4 2 2 5 3 1 1 0 1 4 0 4 1 0 2 2 4 1 3 4
Linux 1 0 2 0 0 3 2 1 1 1 0 2 3 0 1 2 3 1 0 1 1 2 1 0 0 0 1 1 2 0 2 0 0 1 2 3 1 2 1 1 1 3 3 1 3 1

Readme

Source
raw.​githubusercontent.​com

SortBy

A Sublime Text plugin that allows you to sort lines with methods that are not presents by default.


Sorting methods available:

- Natural order
- Sort by the length of lines (Ascending / Descending)
    -Can be sorted alphabetically (Ascending / Descending) (Editable in SortBy.sublime-settings)
- Sort lines of text alphabetically (Ascending / Descending)
- Sort numbers numerically with and without surrounding caracters (Ascending / Descending)
    1. Binary
    2. Hexadecimal
    3. Integer
    4. Octal


Features availables:

1. Able to sort the entire file (when there is no selection)
2. Case sensitivity option for the alphabetically sort (Editable in SortBy.sublime-settings)


Manual installation:

1) Find your local Sublime Text [2 or 3] Packages directory.
Example : C:\Users\USER_NAME\AppData\Roaming\Sublime Text [2 or 3]\Packages

2) Copy the SortBy directory inside the Packages directory.

3) Restart Sublime Text and enjoy !


How to use:

1) Select the text you want to sort.

2) Go in the menu "Tools", "Doi9t's packages" then you should see "SortBy".

3) Choose your option. (Either Reverse or normal).


Or using the control palette.
CTRL + SHIFT + P on Windows/Linux.
COMMAND + SHIFT + P on OS X.
and type SortBy in the box.