Skip to content

Add Set#sorted to make a sorted Seq without unnecessary copies #11711

Open
@smarter

Description

@smarter

Right now it seems that to get a sorted Seq out of a Set, one has to write .toSeq.sorted which creates an unnecessary intermediate collection.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions