I'm looking for a way to truly alphabetize a list. Assuming it's a list of basic words, such as:
Black
Green
The Red
Blue
Waxy
Living
Porous
Solid
Liquid
Violet
Is there a way to modify this code to alphabetize the list where "The Red" comes before "Solid"? Here's what I have so far:
SaveVar=%ClipboardAll%
Clipboard=
Send ^c
ClipWait, 0.5
Sort clipboard, CL
;Process exceptions
Sort := RegExOmit (Sort, "The")
Send ^v
Sleep 100
Clipboard=%SaveVar%
SaveVar=
return