Sorting by active monthly desc.

This commit is contained in:
Dessalines 2021-03-24 19:43:59 -04:00
parent 0fcf8fe523
commit f56a7dde4f

View file

@ -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)) Ok((instance_details, failed_instances))
} }