diff --git a/mosu-app/src/pages/events/competition/index.tsx b/mosu-app/src/pages/events/competition/index.tsx index 03632362..b9465c57 100644 --- a/mosu-app/src/pages/events/competition/index.tsx +++ b/mosu-app/src/pages/events/competition/index.tsx @@ -12,8 +12,11 @@ import { RankTableSection } from "@/widgets/competition/RankTableSection"; export const getStaticProps = async () => { const topRatedSchools = await getTopRatedSchools(); + return { - props: { topRatedSchools }, + props: { + topRatedSchools: topRatedSchools.sort((e1, e2) => e2.paidApplicationCount - e1.paidApplicationCount), + }, revalidate: 3600, // 1 hour }; };