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

Sort​By

by Doi9t ALL

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
  • 4 years ago
  • 3 hours ago
  • 7 years ago

Installs

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

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.