1,582
edits
Changes
→ORDER-BY-LIST
The ORDER-BY-LIST is either None or is a list of dotted-field path strings paired with "ASC" or "DESC".
* [("gramps_id", "DESC")]
* [("primary_name.first_name", "ASC"), ("gramps_id", "DESC")]
The first-listed field name is the primary sort, followed by secondary sorts. In the last example above example, the data would be sorted first by first_name ascending, and inside that, by gramps_id descending, such as:
Avery, I0003