Structure Sort (Built-in Patch) in Modifier, Structure

This patch sorts member in a structure using an optional sorting descriptor.

If the optional sorting descriptor is specified, then members are sorted according to their values for it. This is especially useful with structures of structures.

The sorting descriptor can also define descending sorting (using the ‘!’ prefix), multi-levels sorting (using the ‘:’ separator) as well as paths (using the ‘.’ separator). For instance the sorting descriptor “foo:!bar.thing” means sort by ascending values for “foo”, then by descending values for “bar.thing”.

Input Attributes
  • Structure - The structure to sort.
  • Sorting Descriptor - The optional sorting descriptor to use.
Output Attributes
  • Sorted Structure - The sorted structure.
0 videos
0 comments
Bf9a01b6ccc05dea53134f59ff712fee