Skip to content

Sorting order of locations is wrong way round #2731

@tvdstorm

Description

@tvdstorm

When sorting a collection of locs, the result goes from larger to smaller.

Reproduce:

l1 = |scope:///|;
l2 = |scope:///shut|;
l3 = |scope:///shut/nested|;
l4 = |scope:///bla/nested|;
sort([l1, l2, l3, l4]) // => 

[
  |scope:///bla/nested|,
  |scope:///shut/nested|,
  |scope:///shut|,
  |scope:///|
]
``

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions