dexie / dexie/Dexie.js

Dexie multiple sorting

Open
#1,069 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
14.6k
Forks
712
Avg merge
1d 14h
Merged PRs (30d)
4

Description

I have a table in Dexie with about ten columns and I would like to get a list of data sorted by multiple indexes and with different orders.
Indexes (and sort orders) are dynamically defined by an external form.

In SQL the idea should be something like this:

SELECT * FROM Table ORDER BY name ASC, age DESC, address ASC ect..

Which is the better way to perform that?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.