<?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[Sort case insensitive on 64 bit?]]></title><description><![CDATA[<p dir="auto">Is there any way to sort lines case insensitively on 64 bit Notepad++? When using x86 I’d use TextFX, but that isn’t available for x64.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19659/sort-case-insensitive-on-64-bit</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 01:11:56 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19659.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Jul 2020 19:11:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Sort case insensitive on 64 bit? on Wed, 08 Jul 2020 21:06:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14847">@Michael-Vincent</a> <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@Terry-R</a></p>
<p dir="auto">Hey!  Those <em><strong>don’t</strong></em> should like <em>sh!tty</em> names!<br />
They seem like <a href="https://en.wikipedia.org/wiki/Backronym" rel="nofollow ugc">backronyms</a> to me though. :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/55706</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55706</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 08 Jul 2020 21:06:29 GMT</pubDate></item><item><title><![CDATA[Reply to Sort case insensitive on 64 bit? on Wed, 08 Jul 2020 20:36:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@Terry-R</a> said in <a href="/post/55704">Sort case insensitive on 64 bit?</a>:</p>
<blockquote>
<p dir="auto">C.R.A.P. for short.</p>
</blockquote>
<p dir="auto">I may sue for copyleft infringement :-)</p>
<p dir="auto"><a href="https://github.com/vinsworldcom/crapps" rel="nofollow ugc">CRAPPS (Cisco Router Action Performing Perl Script)</a></p>
<p dir="auto">Seriously, it’s a thing (the CRAPPS that is, not the suing for copyleft infringement)</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/55705</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55705</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Wed, 08 Jul 2020 20:36:30 GMT</pubDate></item><item><title><![CDATA[Reply to Sort case insensitive on 64 bit? on Wed, 08 Jul 2020 19:45:05 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a> <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/19133">@Corey-Keller</a><br />
I had to come up with a quick name. I’m certainly not going to stop anyone creating a better one. Actually in the meantime I think I may have a better name although it is a bit long winded. Its:<br />
Caseless Ranked Ascending Patterning<br />
or<br />
C.R.A.P. for short.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/55704</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55704</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 08 Jul 2020 19:45:05 GMT</pubDate></item><item><title><![CDATA[Reply to Sort case insensitive on 64 bit? on Wed, 08 Jul 2020 14:07:54 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@alan-kilborn</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@terry-r</a> and <strong>All</strong>,</p>
<p dir="auto">or, may be : <strong><code>Letter caseless sort</code></strong>  ?</p>
<p dir="auto">BR</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/55700</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55700</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Wed, 08 Jul 2020 14:07:54 GMT</pubDate></item><item><title><![CDATA[Reply to Sort case insensitive on 64 bit? on Wed, 08 Jul 2020 12:56:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@Terry-R</a></p>
<p dir="auto">Nice one, Terry!<br />
One suggestion, though: Why not name the macro to “Sort Ignoring Case”?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/55697</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55697</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 08 Jul 2020 12:56:28 GMT</pubDate></item><item><title><![CDATA[Reply to Sort case insensitive on 64 bit? on Wed, 08 Jul 2020 02:07:48 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/19133">@corey-keller</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@ekopalypse</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@alan-kilborn</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@terry-r</a> and <strong>All</strong>,</p>
<p dir="auto">Ah… yes, <strong>Terry</strong>, <strong>useful</strong> macro, indeed !</p>
<p dir="auto"><strong>Two</strong> other possible <strong>regex</strong> syntaxes for the S/R, <strong>before</strong> sort :</p>
<p dir="auto">SEARCH <strong><code>(?-s)^.+</code></strong></p>
<p dir="auto">REPLACE <strong><code>\U$0\E##$0</code></strong></p>
<p dir="auto">OR</p>
<p dir="auto">SEARCH <strong><code>^(?=(.+))</code></strong></p>
<p dir="auto">REPLACE <strong><code>\U\1##</code></strong></p>
<p dir="auto">Note that I did <strong>not</strong> add <strong><code>space</code></strong> characters <strong>before</strong> and <strong>after</strong> the <strong><code>##</code></strong> string</p>
<hr />
<p dir="auto">For people whose their language has <strong>accentuated</strong> characters, look that post, too :</p>
<p dir="auto"><a href="https://community.notepad-plus-plus.org/post/55362">https://community.notepad-plus-plus.org/post/55362</a></p>
<p dir="auto">Best Regards</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/55688</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55688</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Wed, 08 Jul 2020 02:07:48 GMT</pubDate></item><item><title><![CDATA[Reply to Sort case insensitive on 64 bit? on Tue, 07 Jul 2020 23:44:42 GMT]]></title><description><![CDATA[<p dir="auto">After supplying the answer in the previous post I realised it might be possible to combine all these steps into a macro, thus creating a “one-click” wonder. OK, well actually 2 clicks.</p>
<p dir="auto">So if you feel up to the challenge you can edit a file called shortcuts.xml. Depending on how your Notepad++ is running it might be in one of several locations. in my case I open a File Explorer window, then type %appdata% in the top location field and press enter. At this point it should open a folder showing several other folders, you want the Notepad++ folder, shortcuts.xml is contained within.</p>
<p dir="auto">This file can be edited within Notepad++, however (and very important) make this the ONLY file you edit in a Notepad++ session. If unsure, then close and re-open Notepad++ before opening this file.</p>
<p dir="auto">The lines below can be inserted within this file (at the appropriate line) and then the file can be saved and closed. Exit Notepad++ again and re-open and you should now have the Macro entry (under Macro in top menu) “Upper-sort”. This macro combines all the steps my previous post alluded to.</p>
<p dir="auto">You might want to change the name and the special characters I used " ## " before inserting the following lines into shortcuts.xml, feel free to do so.</p>
<p dir="auto">Good luck<br />
Terry</p>
<pre><code class="language-z">       &lt;Macro name="Upper-sort" Ctrl="no" Alt="no" Shift="no" Key="0"&gt;
            &lt;Action type="3" message="1700" wParam="0" lParam="0" sParam="" /&gt;
            &lt;Action type="3" message="1601" wParam="0" lParam="0" sParam="(?-s)^(.+)$" /&gt;
            &lt;Action type="3" message="1625" wParam="0" lParam="2" sParam="" /&gt;
            &lt;Action type="3" message="1602" wParam="0" lParam="0" sParam="\U\1\E ## \1" /&gt;
            &lt;Action type="3" message="1702" wParam="0" lParam="768" sParam="" /&gt;
            &lt;Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /&gt;
            &lt;Action type="2" message="0" wParam="42059" lParam="0" sParam="" /&gt;
            &lt;Action type="3" message="1700" wParam="0" lParam="0" sParam="" /&gt;
            &lt;Action type="3" message="1601" wParam="0" lParam="0" sParam="(?-s)^(.+? ## )" /&gt;
            &lt;Action type="3" message="1625" wParam="0" lParam="2" sParam="" /&gt;
            &lt;Action type="3" message="1602" wParam="0" lParam="0" sParam="" /&gt;
            &lt;Action type="3" message="1702" wParam="0" lParam="768" sParam="" /&gt;
            &lt;Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /&gt;
        &lt;/Macro&gt;
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/55686</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55686</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Tue, 07 Jul 2020 23:44:42 GMT</pubDate></item><item><title><![CDATA[Reply to Sort case insensitive on 64 bit? on Tue, 07 Jul 2020 20:25:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/19133">@Corey-Keller</a> said in <a href="/post/55632">Sort case insensitive on 64 bit?</a>:</p>
<blockquote>
<p dir="auto">Is there any way to sort lines case insensitively on 64 bit Notepad++?</p>
</blockquote>
<p dir="auto">I believe another way is possible without using pythonscript (or other external plugins) etc. However it will mean the file will grow to twice the size initially before it shrinks again.</p>
<p dir="auto">I’m suggesting using a regex to copy the entire line, and paste another “capitalised” version of it in front, followed by a number of special characters so it can easily be removed later in the process.</p>
<p dir="auto">So the Replace function would be<br />
Find What:<code>(?-s)^(.+)$</code><br />
Replace With:<code>\U\1\E ## \1</code><br />
Use the "Replace All button with wraparound also pre-selected.</p>
<p dir="auto">So this captures each line, it then replaces the line with first a capitalised version, followed by a space, two hashes and another space and then the original line. Note I’ve used the hash <code>#</code>, but any other combination will work. Just bear in mind some characters such as <code>@*$^*!</code> have special meanings, so you may need to play with the combinations.</p>
<p dir="auto">At this point perform a normal lexicographical sort. Then we’d need to remove the first portion by using the following Replace regex.<br />
Find what:<code>(?-s)(.+? ## )</code><br />
Replace With: nothing in this field</p>
<p dir="auto">You now have it sorted as if every character was capitalised.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/55682</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55682</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Tue, 07 Jul 2020 20:25:12 GMT</pubDate></item><item><title><![CDATA[Reply to Sort case insensitive on 64 bit? on Tue, 07 Jul 2020 20:06:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/19133">@Corey-Keller</a></p>
<p dir="auto">after you installed pythonscript plugin from Plugin Admin,<br />
click on <strong>new script</strong> in the plugin menu. Give it a meaningful name<br />
and put this line into it.</p>
<pre><code class="language-py">editor.setText('\r\n'.join(sorted(editor.getText().splitlines(), key=str.lower)))
</code></pre>
<p dir="auto">Save it. Done.</p>
<p dir="auto">To run it, go to plugins-&gt;pythonscript-&gt;scripts-&gt;your_script</p>
]]></description><link>https://community.notepad-plus-plus.org/post/55681</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55681</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 07 Jul 2020 20:06:09 GMT</pubDate></item><item><title><![CDATA[Reply to Sort case insensitive on 64 bit? on Tue, 07 Jul 2020 19:59:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a> that would be helpful! Thank you!</p>
<p dir="auto">I may try and relearn c++ (it’s been about a decade) and see if I can write a proper one at some point though.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/55680</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55680</guid><dc:creator><![CDATA[Corey-Keller]]></dc:creator><pubDate>Tue, 07 Jul 2020 19:59:56 GMT</pubDate></item><item><title><![CDATA[Reply to Sort case insensitive on 64 bit? on Tue, 07 Jul 2020 19:53:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/19133">@Corey-Keller</a></p>
<p dir="auto">well, there is, more or less a plugin which can do it.<br />
It’s called pythonscript. If you want to go this way, then<br />
I can provide a script which should do what you want.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/55679</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55679</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 07 Jul 2020 19:53:24 GMT</pubDate></item><item><title><![CDATA[Reply to Sort case insensitive on 64 bit? on Tue, 07 Jul 2020 19:45:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> and <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a> I’m not surprised that it’s not a native function. What surprises me is that no one has made a plugin for something that I’d think would be quite common.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/55677</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55677</guid><dc:creator><![CDATA[Corey-Keller]]></dc:creator><pubDate>Tue, 07 Jul 2020 19:45:12 GMT</pubDate></item><item><title><![CDATA[Reply to Sort case insensitive on 64 bit? on Mon, 06 Jul 2020 20:05:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a></p>
<p dir="auto">Sorry, I don’t know.<br />
Maybe it’s just a <em>“my day has 24 hours only too”</em> problem.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/55638</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55638</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 06 Jul 2020 20:05:24 GMT</pubDate></item><item><title><![CDATA[Reply to Sort case insensitive on 64 bit? on Mon, 06 Jul 2020 19:49:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a></p>
<p dir="auto">I wonder <em>why</em> there isn’t a case insensitive sort?<br />
It seems only a slight step beyond a normal sort.<br />
Any idea?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/55637</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55637</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 06 Jul 2020 19:49:25 GMT</pubDate></item><item><title><![CDATA[Reply to Sort case insensitive on 64 bit? on Mon, 06 Jul 2020 19:43:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/19133">@Corey-Keller</a></p>
<p dir="auto">sorry, I missed the <strong>insensitive</strong> part.<br />
No, there is no builtin function other then converting the lines prior to sorting it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/55636</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55636</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 06 Jul 2020 19:43:18 GMT</pubDate></item><item><title><![CDATA[Reply to Sort case insensitive on 64 bit? on Mon, 06 Jul 2020 19:36:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/19133">@Corey-Keller</a></p>
<p dir="auto">checkout menu <strong>edit-&gt;line operations</strong>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/55635</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55635</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 06 Jul 2020 19:36:26 GMT</pubDate></item></channel></rss>