sort by world id
This commit is contained in:
parent
ca9be2d846
commit
8b5ceaf599
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ export const loader = async () => {
|
||||||
fetchPopulationWorlds(),
|
fetchPopulationWorlds(),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return json({ metagame, population });
|
return json({ metagame: metagame.sort((a, b) => a.id - b.id), population });
|
||||||
};
|
};
|
||||||
|
|
||||||
export const meta: V2_MetaFunction = () => {
|
export const meta: V2_MetaFunction = () => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue