Sort the letters of string in alphabetical order: Difference between revisions
Sort the letters of string in alphabetical order (view source)
Revision as of 19:38, 12 September 2023
, 8 months ago→{{header|Quackery}}: fixed to comply with task requirements
(Added Quackery.) |
(→{{header|Quackery}}: fixed to comply with task requirements) |
||
Line 1,239:
=={{header|Quackery}}==
With regard to the [[Talk:Sort the letters of string in alphabetical order|discussion]] regarding the nature of the task, I am construing the
<syntaxhighlight lang="Quackery"> [ sortwith [ qacsfot dip qacsfot > ] ] is qacsort ( $ --> $ )
qacsort echo$</syntaxhighlight>
{{out}}
<pre>Native order:▼
▲<pre>/O> [] 94 times [ i^ 1+ space + join ]
▲... say "Native order:" cr
▲... dup echo$ cr cr
▲... say "QACSFOT order:" cr
▲Native order:
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
QACSFOT order:
0123456789AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz()[]{}<>~=+-*/^\|_.,:;?!'"`%@&#$</pre>
=={{header|Raku}}==
|