diff --git a/src/dashboard/Data/Browser/AddColumnDialog.react.js b/src/dashboard/Data/Browser/AddColumnDialog.react.js index fd244551b4..82af7696d8 100644 --- a/src/dashboard/Data/Browser/AddColumnDialog.react.js +++ b/src/dashboard/Data/Browser/AddColumnDialog.react.js @@ -97,7 +97,7 @@ export default class AddColumnDialog extends React.Component { this.setState({ target: target })}> - {this.props.classes.map((c) => )} + {this.props.classes.sort((a, b) => a.localeCompare(b)).map((c) => )} ); } @@ -189,7 +189,7 @@ export default class AddColumnDialog extends React.Component { this.setState({ type: type, defaultValue: undefined, required: false })}> - {DataTypes.map((t) => )} + {DataTypes.sort((a, b) => a.localeCompare(b)).map((t) => )} ); return (