Skip to content

Commit

Permalink
TASK: Sort DimensionSwitcher groups asc
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesAlias authored and markusguenther committed Dec 16, 2023
1 parent ba32bc9 commit 97eaf40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default class DimensionSelector extends PureComponent {
}
);

const sortedPresetOptions = sortBy(presetOptions, ['label']);
const sortedPresetOptions = sortBy(presetOptions, ['group', 'label']);

const onPresetSelect = presetName => {
onSelect(dimensionName, presetName);
Expand Down

0 comments on commit 97eaf40

Please sign in to comment.