diff --git a/src/background/histories.js b/src/background/histories.js index 42f7fd1..d70cf57 100644 --- a/src/background/histories.js +++ b/src/background/histories.js @@ -60,6 +60,7 @@ const getCompletions = (keyword) => { .sort((x, y) => x[0].visitCount < y[0].visitCount) .slice(0, 10) .map(item => item[0]) + .sort((x, y) => x.url > y.url) )[0]; }); };