Sort
public struct Sort : Transform
Specification of sort operation on trace data.
-
Determines whether this sort transform is enabled or disabled.
Declaration
Swift
public var enabled: Bool?
-
Sets the target by which the sort transform is applied.
If a string, target is assumed to be a reference to a data array in the parent trace object. To sort about nested variables, use . to access them. For example, set
target
to marker.size to sort about the marker size array. If an array, target is then the data array by which the sort transform is applied.Declaration
Swift
public var target: Data<String>?
-
Sets the sort transform order.
See moreDeclaration
Swift
public enum Order : String, Encodable
-
Sets the sort transform order.
Declaration
Swift
public var order: Order?
-
Creates
Sort
object with specified properties.Declaration
Parameters
enabled
Determines whether this sort transform is enabled or disabled.
target
Sets the target by which the sort transform is applied.
order
Sets the sort transform order.