Order data - OrderBy/ThenOrderBy prefilter
You can use the
orderBy-prefilter to change the ordering of the data the server returns.
Pass the property name you want to sort by.
In this example the values are sorted by content. The first example is in ascending order, the second in descending order.
thenOrderByfor following sorting statements.