Skip to content

Sorting

You can sort your backend data also with the data service directly. In previous versions, you just provided the row name of a container, which should be sorted ascending or descending.

Now you have the option to provide a full object to the API, where you can define multiple rows and in which order it should be sorted.

For that just see the following objects:

[
    {
        "column": "field_name",
        "order": "asc"
    },
    {
        "column": "another_field_name",
        "order": "descending"
    }
]