:sig
StringList StringList::sort() const

:params
return value : a new `StringList` sorted in ascending string order

:content
Returns a sorted copy of the list without changing the original. Use it for deterministic output, menus, manifests, and test comparisons.

:example
StringList names = split("beta,alpha,gamma", ",");
StringList sorted = names.sort();
print(join(sorted, ","), "\n");

:see
>types
0_StringList
2_StringList_unique
join
