Fix OpenAPI documentation of ListDatasetElements cursor pagination
Closes #1615 (closed)
This does not change the real API, apart from making the ordering stable by sorting by id after the element_id, but this makes the OpenAPI docs show a cursor pagination instead of the default page number pagination, and the API client will now be able to use ListDatasetElements without any issue.