string.sort()

Returns a string containing the sorted characters from the input.

string.sort( )

Returns: String

This function does not take any arguments.

Examples

letters="JohnWick";
	writeOutput(letters.sort());

See also