diff --git a/src/endpoints/get_tasks.rs b/src/endpoints/get_tasks.rs index c96bbc3..d98c834 100644 --- a/src/endpoints/get_tasks.rs +++ b/src/endpoints/get_tasks.rs @@ -84,6 +84,7 @@ pub async fn handler( } }, doc! { "$sort": { "sort_order": 1 } }, + doc! { "$sort": { "overwrite_order": 1 } }, doc! { "$project": { "_id": 0,