diff --git a/src/store/index.ts b/src/store/index.ts index f5a46b4e..10d067f1 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -164,10 +164,12 @@ export const store = createStore({ const versions: Array = Object.keys( stateInfo.state.content.content.versions - ).map((v) => ({ - type: "HolochainVersion", - content: v, - })); + ) + .sort((a, b) => b.localeCompare(a)) + .map((v) => ({ + type: "HolochainVersion", + content: v, + })); if ( stateInfo.state.content.content.custom_binary && stateInfo.state.content.content.custom_binary.type === "Running"