function

First seen , last seen .

sort

See also: sort (function-call)

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
  1. string CFEngine variable identifier or inline JSON (.*)
  2. option Sorting method: lex or int or real (floating point) or IPv4/IPv6 or MAC address (lex,int,real,IP,ip,MAC,mac)
Variadic: at least 1 and at most 2 arguments.
Returns
slist
Category
data