A built-in CFEngine function in the data category that returns a list of strings.sort is called 18 times from 10 bundles and bodies in 9 policy files, on 100 hosts in your infrastructure.
Signature
sort(string, [option], ...)
Parameters
string CFEngine variable identifier or inline JSON (.*)
option Sorting method: lex or int or real (floating point) or IPv4/IPv6 or MAC address (lex,int,real,IP,ip,MAC,mac)