Remove redundant sort

This commit is contained in:
Paul W. 2021-12-12 22:19:49 -05:00 committed by GitHub
parent 7e513dbcc2
commit a338dc50c0

View File

@ -32,8 +32,6 @@ export default class Fuzzy {
this.pages = obj.pages this.pages = obj.pages
this.maxResults = obj.maxResults || this.pages.length; this.maxResults = obj.maxResults || this.pages.length;
this.pages.sort((x, y) => { return ('' + x.title).localeCompare(y.title) });
} }
searchKeyUpListener(e: ReactKeyboardEvent) { searchKeyUpListener(e: ReactKeyboardEvent) {