Skip to content

Commit

Permalink
feat(transitionvis): sort parameter names when grouping identical val…
Browse files Browse the repository at this point in the history
…ued parameters together
  • Loading branch information
christopherthielen committed Jan 3, 2018
1 parent d25ca41 commit ff124d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transition/KeysAndValues.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class KeysAndValues extends Component<IKeysAndValuesProps, IKeysAndValues

const tuples = Object.keys(defaultBucket.data).map(key => ({ key, val: defaultBucket.data[key] }));
const groupedTuples = groupedBuckets.map(bucket => {
const key = Object.keys(bucket.data).join(', ');
const key = Object.keys(bucket.data).sort().join(', ');
const val = bucket.value;
return { key, val };
});
Expand Down

0 comments on commit ff124d9

Please sign in to comment.