Order events by id

Co-authored-by: blam<ben@blam.sh>
This commit is contained in:
Johan Haals
2021-02-04 09:39:05 +01:00
parent ff0eed8200
commit 586607e417
@@ -245,6 +245,7 @@ export class DatabaseTaskStore implements TaskStore {
builder.where('id', '>', after).orWhere('event_type', 'completion');
}
})
.orderBy('id')
.select();
const events = rawEvents.map(event => {