sortvals

Purpose

Sort the strings in multi-string-valued global variable varname.

Syntax

sortvals(varname)

varname - type: str

Returns

Remarks

Example

@CODE
G("xx") = "abacus";
G("xx")[1] = "aardvark";
sortvals("xx");
"output.txt" << G("xx") << "\n";

See Also

guniq, CODE Actions