Fix sorting words, which I guess I broke

This commit is contained in:
Robbie Antenesse 2018-01-07 11:38:49 -07:00
parent 6646bf19d7
commit 5a1384464f
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ class DictionaryData {
if (this.sortByDefinition) {
return wordDb.words.toCollection().sortBy('definition');
}
return wordDb.words.toArray();
return wordDb.words.orderBy('name').toArray();
}
wordsWithPartOfSpeech (partOfSpeech) {