API: Order entities by date
For the frontend table sort #1872 it would be great if
we could order the entities by their dates.
Updated by Bernhard Koschiček-Krombholz about 1 year ago
Edited If sorting ascending, the entity with the "oldest" date will come first, sorting descending, the entity with the "youngest" date will be first. All entities without any date will come last, doesn't matter if asc or desc.
Right now, entities without a date get a temporary fictional date of (-)9999999-01-01T00:00:00. If we somehow get dates before that, we have to change this.