How to shuffle lines randomly in Sublime Text

Ramdomly Shuffle lines in Sublime Text Editor
Ramdomly Shuffle lines in Sublime Text Editor

If you have a text file and you want to shuffle the lines in the file randomly, you can do that using Sublime Text Editor in the following way,

  1. Open the file in Sublime Text tab,
  2. Goto Menu: Edit -> Permute Lines -> Shuffle,
  3. You should see the lines in the file are suffeled!
Example: Initial file text
Line 1
Line 2
Line 3
Line 4
Line 5
After using the Shuffle Option
Line 4
Line 2
Line 3
Line 1
Line 5


Have Questions? Post them here!

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!