Table.orderBy()
Syntax
table.orderBy(index)Parameters
Return Value
Remarks
OrderBy on Collections
db.friends
.where('age').above(25)
.orderBy('name') // Not possible in Dexie 1.x, 2.x or 3.x.