TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-369
#SORT Built-In Function
2. This example illustrates the way in which equal-valued uppercase and lowercase
characters are sorted.
67> #OUTPUT [#SORT /ASCENDING/ a B b A]
a A B b
3. These examples show the influence of character-processing rules. The first
instance shows the result when the CPRULES0 rules, which cause a number of
international characters to lose their diacritical marks when upshifted, are in effect:
68> #OUTPUT [#SORT /ASCENDING/ B a a A b]
a â A B b
The second instance shows the result when CPRULES1 rules, under which
diacritical marks remain intact during upshifting, are in effect:
69> #OUTPUT [#SORT /ASCENDING/ B a â A b]
a A B b â