Sort DatasetField

HI all,

I would like to be able to order the result of Dataset Fields (Many-Valued Associations).
In the example:

InvoiceDataset.SetSourceList (List);
InvoiceDataset.Manager: = Manager1;
ItemsDataset.DatasetField: = InvoiceDataset.FieldByName ('Items') as TDatasetField;

I would like to be able to order ItemsDataset for a content field in the dataset, for example the items field itself.
It's possible?

Hello Flavio,

You can use the [OrderBy] attribute in the mapping to set a default order for the Many-Valued association: