How do I make a block that lists the letters in a string alphabetically?

For example, "foobar9876" would be "6789abfoor" but "a StRiNg 1234" would be "(space)(space)1234NRSagit".
(NOTE: Symbols like '!' and '%' always come before numbers and spaces always go at the top of the list. Capital letters come before the lowercase letters, and the numbers come before the letters.)

There's a sort reporter in the List utilities library

untitled script pic (4)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.