Remove redundant sort
This commit is contained in:
parent
52882a8b39
commit
cf23df94c9
@ -32,8 +32,6 @@ export default class Fuzzy {
|
||||
|
||||
this.pages = obj.pages
|
||||
this.maxResults = obj.maxResults || this.pages.length;
|
||||
|
||||
this.pages.sort((x, y) => { return ('' + x.title).localeCompare(y.title) });
|
||||
}
|
||||
|
||||
searchKeyUpListener(e: ReactKeyboardEvent) {
|
||||
@ -104,4 +102,4 @@ export default class Fuzzy {
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user