@leestwise ,
Lexicographical sorts by codepoint. Which, in your limited terminology, could be considred “ASCII”: technically, that’s only “ASCII” if you are still using 7-bit encoding… which you aren’t, and which hasn’t been really used since before the 80s (even in the 80s, when they still used the label “ASCII”, it was actually an 8-bit encoding which overlapped with ASCII for the first 128 codepoints)
So if I start with the random order of the characters that you showed in your list on the left of the image, then apply lexicographical sorting will result in the order on the left, which is exactly what you want.
[image: 1788449119817-6319df59-bb8d-490f-96b7-50f73724bd00-image.jpeg]
It saddens me that you assumed my answer was wrong, before trying it yourself and seeing that yes, indeed, it did exactly what you wanted.
update: fixed the image: the first time, it copied your ’ as the smartquote ’ instead of the ASCII ', so it sorted later (because smart-single-quote has a later codepoint than any character from the ASCII set). I didn’t notice until after I’d posted that it put the smart ’ at the end of the list; that was caused by a limitation of the forum, not of Notepad++'s sorting