function sortSuggestions(a, b)
        {
            return dictionary.wordCount(b) - dictionary.wordCount(a) || a.length - b.length;
        }
@override
@param {!WebInspector.CodeMirrorTextEditor} editor
@param {!WebInspector.TextRange} prefixRange
@param {!WebInspector.TextRange} substituteRange
@return {!Array.<string>}