diff --git a/client/src/components/game/charts/ChartInfoFormat.tsx b/client/src/components/game/charts/ChartInfoFormat.tsx
index 4abcafd66..b6acac50f 100644
--- a/client/src/components/game/charts/ChartInfoFormat.tsx
+++ b/client/src/components/game/charts/ChartInfoFormat.tsx
@@ -53,6 +53,8 @@ export default function ChartInfoFormat({
return ;
}
+ const versions = Object.keys(GetGamePTConfig(game, playtype).versions);
+
return (
-
+
Appears In
{data.length !== 0 ? (
- data.map((e) => (
-
- {user && ugs ? (
-
- {e.title}
-
- ) : (
- {e.title}
- )}
-
- ))
+ data
+ .sort((a, b) => a.title.localeCompare(b.title))
+ .sort((a, b) =>
+ "versions" in a.data && "versions" in b.data
+ ? versions.indexOf(a.data.versions) -
+ versions.indexOf(b.data.versions)
+ : 0
+ )
+ .map((e) => (
+
+ {user && ugs ? (
+
+ {e.title}
+
+ ) : (
+ {e.title}
+ )}
+
+ ))
) : (
No folders...
)}