ADELIA |
VADELIA |
SADELIA |
WADELIA |
MADELIA |
(I/B) |
(I/B) (C/S) |
(B) (S) |
(I/B) (C/S) |
(I) (C/S) |
Warning: In the case of ADELIA programs, this instruction is not compatible with generator.
Section for use
All
Syntax
SORT_LST ListName SeriesSortFields
SeriesSortFields |
→ |
SeriesSortFields, FieldId Order |
|
|
| FieldId Order |
Order |
→ | *ASC | *DESC | None |
Description
This instruction sorts the list ListName according to the fields FieldId in the order Order specified for each field. Where the order is not specified, sorting will be in ascending order.
Once this instruction has been executed, the first element becomes the current element.
Example
SORT_LST ItemLst ITEM_ID
SORT_LST InvoiceLst Customer_Name *ASC, Invoice_Amount *DESC