Skip to content

Proposal: more declarative/condensed sort options #101

@webketje

Description

@webketje

The combined sort options aren't that semantically meaningful. Furthermore, it doesn't make that much sense to use some of them together (custom sortBy function with the others)

To do:

  • add @deprecated to the reverse,sortBy, and sortOrder options
  • adapt Readme examples
  • adapt tests
  • implement sort with type signature:
    /** @param {String|Function} sort */
    where sort:'key' or sort:'key:order' or sort: Function, where order is one of'asc'|'desc' (which map to reverse: false|true)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions