Skip to content

Allow to insert custom sorting function #559

@bst27

Description

@bst27

According to the API documentation a sortChildren function exists which can be called to sort children based on a custom sorting function.
I would like to suggest to allow replacing the existing sorting function instead of calling the sortChildren function on demand. With the existing approach the API user has to know when to call sortChildren to preserve correct node order. With the possibility to insert a permanent sorting functionality like suggested above the API user is able to achieve a custom sorting without having to care for internal implementation details (knowing when to call sortChildren again).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions