XMPData_Sort

Sort the properties of an XMP data object.
XMPData_Sort(xmpDataRef) ➔ success
xmpDataRef Text The XMP data reference.
↩︎ success Longint Completion status: 1 on success, 0 otherwise.

Sort the properties of a XMP data object.

Parameter xmpDataRef is the reference to the XMP data object.

At the top level the namespaces are sorted by their prefixes. Within a namespace, the top level properties are sorted by name. Within a struct, the fields are sorted by their qualified name (prefix:name). Unordered arrays of simple items are sorted by value. LangAlt contents are sorted by language, with the "x-default" item placed first.