From 0f10ffa3c5cf4f66b5a17c03b9d811d80a33f9bb Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 29 Sep 2020 11:09:17 +0100 Subject: [PATCH] fix sequence sorting Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/elements/MemberEventListSummary.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/elements/MemberEventListSummary.tsx b/src/components/views/elements/MemberEventListSummary.tsx index d65489e77b..073bedf207 100644 --- a/src/components/views/elements/MemberEventListSummary.tsx +++ b/src/components/views/elements/MemberEventListSummary.tsx @@ -436,7 +436,7 @@ export default class MemberEventListSummary extends React.Component { // Sort types by order of lowest event index within sequence const orderedTransitionSequences = Object.keys(aggregate.names).sort( - (seq1, seq2) => aggregate.indices[seq2] - aggregate.indices[seq1], + (seq1, seq2) => aggregate.indices[seq1] - aggregate.indices[seq2], ); return