fix sequence sorting

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-09-29 11:09:17 +01:00
parent 48d9aa2c3e
commit 0f10ffa3c5
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ export default class MemberEventListSummary extends React.Component<IProps> {
// 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 <EventListSummary