From 7574e141faa7b8a708994baa2ec6f366d6163add Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Thu, 20 Dec 2018 14:50:13 -0500 Subject: [PATCH] fix: consistent service order in cockpit --- embark-ui/src/components/Processes.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/embark-ui/src/components/Processes.js b/embark-ui/src/components/Processes.js index 9379cf01b..432cc1397 100644 --- a/embark-ui/src/components/Processes.js +++ b/embark-ui/src/components/Processes.js @@ -30,7 +30,9 @@ Process.propTypes = { const Processes = ({processes}) => ( - {processes.map((process) => )} + {processes + .sort((a, b) => a.name < b.name ? 1 : 0) + .map((process) => )} );