Sorting list entries
In several lists populated by local or external data sources, sorting should be applied. The following approach should be followed:
Add field configuration option that defines
- where shorting is applied (none, local, API)
- how it is applied in each case (which element shorting is applied to, which sorting method is applied, how it is passed to the API etc)
If local sorting is applied, then a framework sorting method should be applied using the framework native options for sorting (i.e. methods as readily supported by the used java framework). The element to sort on is also supplied as a configuration attribute.
If remote sorting is applied, then the additional options to pass to the API should be defined in "method".