From c389bbff28d51d6882beebd641180321e4246102 Mon Sep 17 00:00:00 2001 From: burnettk Date: Wed, 17 May 2023 14:13:37 -0400 Subject: [PATCH] sort version keys --- spiffworkflow-frontend/src/routes/About.tsx | 24 +++++++++++---------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/spiffworkflow-frontend/src/routes/About.tsx b/spiffworkflow-frontend/src/routes/About.tsx index 1b1da8b73..786521d87 100644 --- a/spiffworkflow-frontend/src/routes/About.tsx +++ b/spiffworkflow-frontend/src/routes/About.tsx @@ -28,17 +28,19 @@ export default function About() { versionInfoDict: ObjectWithStringKeysAndValues | null ) => { if (versionInfoDict !== null && Object.keys(versionInfoDict).length) { - const tableRows = Object.keys(versionInfoDict).map((key) => { - const value = versionInfoDict[key]; - return ( - - - {key} - - {value} - - ); - }); + const tableRows = Object.keys(versionInfoDict) + .sort() + .map((key) => { + const value = versionInfoDict[key]; + return ( + + + {key} + + {value} + + ); + }); return ( <>