sory by url

This commit is contained in:
Shin'ya Ueoka 2017-09-18 00:27:39 +09:00
parent 5d13818fb4
commit 44d9123bc4

View file

@ -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];
});
};