This is an archive of the old site. Visit the latest version at dexie.org.

Collection.desc()

Syntax

collection.desc()

Return Value

This Collection instance (this)

Remarks

No matter if using sortBy() or natural sort order (orderBy() or a where() clause), this method will reverse the sort order of the collection.

If called twice, the sort order will reset to ascending again.

Table of Contents