If set to true
or a function, all properties of an object, and Set
and Map
entries are sorted in the resulting string. If set to true
the default sort is used. If set to a function, it is used as a compare function.
property
util.InspectOptionsStylized.sorted
sorted?: boolean | (a: string, b: string) => number