Install unsort by entering the following commands in the terminal:
sudo apt update sudo apt install unsort
Description:
reorders lines in a file in semirandom ways
This program reorders the lines in its input with no regard to the actual contents. Two permutation algorithms are available: randomization based on a good PRNG (the Mersenne Twister algorithm) and "shuffling", which permutes the lines in such a way that they're spread more or less evenly in the output. This mode is primarily intended for music playlists.
Homepage: https://git.fruit.je/unsort
Version: 1.2.1-1build1
Section: universe/text