Sublime Forum

Differences in permutation options

#1

Would someone mind briefly explaining to me the difference between the various permutation options in sublime? The Unique option appears simply to delete duplicate lines, but I am unsure what method of sorting is being emploted in the other options.

0 Likes

#2

image

  • Reverse: I don’t know how to elaborate this since it’s quite self-explanatory in a single word imo. Say you have line 1 ~ line n, it swaps every line x with line n+1-x. If you know what string reverse is, then this is line reverse.
  • Unique: It looks like you know how it works.
  • Shuffle: Random.

And, they don’t sort.

0 Likes

#3

Thank you. I seem to have been confusing permuting with sorting. I got Unique and Reverse, but wonder about a use case for Shuffle?

0 Likes