diff --git a/source/components/SearchBar.js b/source/components/SearchBar.js index 60a0282b1..85dd0938e 100644 --- a/source/components/SearchBar.js +++ b/source/components/SearchBar.js @@ -1,6 +1,6 @@ import { encodeRuleName } from 'Engine/rules.js' import Fuse from 'fuse.js' -import { pick } from 'ramda' +import { sortBy, pick } from 'ramda' import React from 'react' import Highlighter from 'react-highlight-words' import { withI18n } from 'react-i18next' @@ -95,7 +95,7 @@ class SearchBar extends React.Component { /> {this.props.showDefaultList && !this.state.inputValue && (