From 34fcffb95db91bc1db80a00af4cf9d1007a9f575 Mon Sep 17 00:00:00 2001
From: mat <github@matdoes.dev>
Date: Mon, 21 Feb 2022 00:56:55 -0600
Subject: add minions and loader thing

---
 src/lib/sections/StatList.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/sections/StatList.svelte')

diff --git a/src/lib/sections/StatList.svelte b/src/lib/sections/StatList.svelte
index 266ceb3..901d853 100644
--- a/src/lib/sections/StatList.svelte
+++ b/src/lib/sections/StatList.svelte
@@ -11,7 +11,7 @@
 </script>
 
 <ul>
-	{#each stats as stat}
+	{#each stats.sort((a, b) => b.value - a.value) as stat}
 		<li class:total-stat={stat.categorizedName === 'total'}>
 			<span class="stat-name">{cleanId(stat.categorizedName)}</span>:
 			{#if stat.unit === 'time'}
-- 
cgit 

