Sort Text Lines Bookmarklet

Upload text containing files, paste clumps to sort and more...

This is a software type applet that loads from your web browser's bookmark bar in new window. It does not interact with the page you are on, you have to manually add text to the app (upload or copy/paste). It will work offline.

To sort via the second character enter a column number of 2. Sort via second word by entering a space as delimiter and column number of 2.

Privacy of Data: This tool is built-with and functions-in Client Side JavaScripting in a page that doesn't exist (about:blank, cannot even view source code), so only your computer will see or process your data input/output.

Enter your text/list for sorting here.
Default sorting column will be the first character of each new line. Default setting will contain an empty delimiter and column number of 1.

Click "Reverse" to reverse current line order. Use to create descending order from ascending sorted lists.

Click "Random" to randomize line order.

Click "Natural" for case insensitive natural sorting of lines. Click attached "Cs" button for case sensitive results.

Click "Length" to sort lines by character length. Pre-sort alphabetically for length sorted results to be in alphabetical order.

Click "Alphabetical" for case insensitive, ascending, alphabetical sorting. Click attached "Cs" button for case sensitive results.

"Sort by delimiter" can sort by first, second ... last character, first, second ... last word in "Alphabetical" and "Natural" mode only.

"Natural" sorting is resource intensive. Large inputs are slow to process. Use "Alphabetical" sort for large inputs.

Source (www.whak.com)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3Avar%20bookmarkapplet%3Datob%28%22PHNjcmlwdD4KCgpmdW5jdGlvbiBsb2FkZmlsZShmaWxlaWQsbG9hZGlkKXsKZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQobG9hZGlkKS52YWx1ZSA9ICdMb2FkaW5nLi4uJzsKc2V0VGltZW91dChmdW5jdGlvbigpe2xvYWRmaWxlMihmaWxlaWQsbG9hZGlkKX0sMTAwMCk7fQoKZnVuY3Rpb24gbG9hZGZpbGUyKGZpbGVpZCxsb2FkaWQpewppZighd2luZG93LkZpbGVSZWFkZXIpewpkb2N1bWVudC5nZXRFbGVtZW50QnlJZChsb2FkaWQpLnZhbHVlID0gJ1lvdXIgYnJvd3NlciBkb2VzIG5vdCBzdXBwb3J0IEhUTUw1ICJGaWxlUmVhZGVyIiBmdW5jdGlvbiByZXF1aXJlZC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gQXMiIG9uQ2xpY2s9InNhdmVmaWxlKCdzYXZlYXMnLCdpbnB1dF9vdXRwdXQnKTsiIC8+CjxpbnB1dCB0eXBlPSJ0ZXh0IiBpZD0ic2F2ZWFzIiB2YWx1ZT0ib3V0cHV0LnR4dCIgc3R5bGU9IndpZHRoOjkwcHg7IiAvPgpVbml4PGlucHV0IHR5cGU9InJhZGlvIiBuYW1lPSJzZnJtdCIgaWQ9InVuaXgiIENIRUNLRUQgLz48aW5wdXQgdHlwZT0icmFkaW8iIG5hbWU9InNmcm10IiBpZD0iZG9zIiAvPkRvcyZuYnNwOwpGb250IHNpemUgPGlucHV0IHR5cGU9InRleHQiIG1heGxlbmd0aD0iMiIgdmFsdWU9IjE0IiBzdHlsZT0id2lkdGg6MzNweDsiIG9uS2V5dXA9ImlmKHRoaXMudmFsdWUubGVuZ3RoPjEpZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ2lucHV0X291dHB1dCcpLnN0eWxlLmZvbnRTaXplPXRoaXMudmFsdWUrJ3B4JzsiIC8+IHB4Lgo8aW5wdXQgdHlwZT0iY2hlY2tib3giIGlkPSJtb25vc3BjIiBvbkNsaWNrPSJtb25vZm50KCk7IiAvPk1vbm9zcGFjZWQgZm9udC4KPGhyPjxhIGhyZWY9J2h0dHA6Ly93d3cud2hhay5jb20nPldIQUsuY29tPC9hPjxwPjxhIGhyZWY9J2h0dHA6Ly93d3cubWFrZS1hLW1lbWUuY29tJz5NYWtlLUEtTWVtZS5jb208L2E+%22%29%3Bvar%20openz%3Dwindow.open%28%27about%3Ablank%27%29%3Bopenz.document.write%28bookmarkapplet%29%3Bopenz.focus%28%29%3Bvoid%280%29%3B


Rate it:


Tags:

Comments

Comments so far. Add yours.