Skip to content

Inconsistent naming of sort functions in Array/VarArray vs List #403

@timohanke

Description

@timohanke

Array has sort and VarArray has sort and sortInPlace. The sort function returns a new array in both cases. That makes sense.

In List however the sort function sorts in place. That is confusing. The function should be renamed to sortInPlace to establish consistency with Array/VarArray. Unfortunately, this will be a breaking change.

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