Up to BioStar v2.7.12, BioStar 2 New Local API indicates the results of [POST] /api/events/search as descending order only.
From BioStar v2.7.14, it supports receiving the sorted results by "datetime" with using an additional parameter.
If you use the parameter named "orders," you can sort the log list in accordance with the "orders" parameter. This is only supported to sort for the "datetime" of the log data.
To sort the log data, please refer to the screenshots below.
- Sorting by ascending
- Sorting by descending