diff --git a/src/crawl.rs b/src/crawl.rs index c907162..4a45c8f 100644 --- a/src/crawl.rs +++ b/src/crawl.rs @@ -42,6 +42,10 @@ pub async fn crawl( } } + // Sort by active monthly users descending + instance_details.sort_by_key(|i| i.users_active_month); + instance_details.reverse(); + Ok((instance_details, failed_instances)) }