<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Shuffle text lines]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Notepad++ can nicely sort text lines ascending or decending. What I was looking for is a functionality to shuffle text lines.<br />
Did I just see it in np++?  Or is there a plugin available that does this job?<br />
Maybe by using something like this: <a href="https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle" rel="nofollow ugc">https://en.wikipedia.org/wiki/Fisher–Yates_shuffle</a></p>
<p dir="auto">Thank you and have a nice day</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18947/shuffle-text-lines</link><generator>RSS for Node</generator><lastBuildDate>Fri, 09 Oct 2026 20:56:17 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18947.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 21 Feb 2020 06:15:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Shuffle text lines on Fri, 21 Feb 2020 07:05:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-weet" aria-label="Profile: Michael-Weet">@<bdi>Michael-Weet</bdi></a> said in <a href="/post/50839">Shuffle text lines</a>:</p>
<blockquote>
<p dir="auto">shuffle text lines</p>
</blockquote>
<p dir="auto">Welcome to the NPP forum. I first have to say your sentence “nicely sort lines ascending or descending” contradicts the request to “shuffle” especially when the link refers to a random sort.</p>
<p dir="auto">You should be aware that an ascending or descending sort can easily be done with “Line Operations” which is under the “Edit” menu. However random sorts aren’t possible in NPP without additional help from plugins or one of the supporting programming languages.</p>
<p dir="auto">Might I suggest you read the posts:<br />
<a href="https://community.notepad-plus-plus.org/topic/16318/sorting-lines-evenly-in-document">https://community.notepad-plus-plus.org/topic/16318/sorting-lines-evenly-in-document</a><br />
as that might give you some direction.</p>
<p dir="auto">As a very rough simile to “randomness” considering grabbing 2 characters at different positions within each line, copying these to the start of the line, then sorting. Then those characters could be removed, thus leaving a “sort-of” random ordering of the lines.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50840</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50840</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Fri, 21 Feb 2020 07:05:05 GMT</pubDate></item></channel></rss>