Für Syntax siehe hier.
Sort Ascending:
EXEC TAA SORT Z0AAPME ON FIELD VEG-VEIN-ID ASCENDING END-EXEC
this.Data.Z0aapme.Sort((left, right) => left.VegVeinId.CompareTo(right.VegVeinId));
Sort Descending:
EXEC TAA SORT Z0AAPME ON FIELD VEG-VEIN-ID DESCENDING END-EXEC
this.Data.Z0aapme.Sort((left, right) => right.VegVeinId.CompareTo(left.VegVeinId));
Sort Mehrfach:
EXEC TAA SORT SNLLPME ON FIELD PRM-PRAEA-FAELV-D0, PRM-PRAEA-FAELB-D0, 000-ID END-EXEC
this.Data.Snllpme.Sort((left, right) => left.PrmPraeaFaelvD0.CompareTo(right.PrmPraeaFaelvD0) .CompareCoalesce(() => left.PrmPraeaFaelbD0.CompareTo(right.PrmPraeaFaelbD0) .CompareCoalesce(() => left._000Id.CompareTo(right._000Id))));
Syntaktisch erkannt, aber von den Generatoren derzeit nicht unterstützt sind folgende Bestandteile: