troch / route-node

A package to create a tree of named routes
MIT License
20 stars 15 forks source link

Ensure that order of routes that cannot be disambiguated is preserved #16

Closed davazp closed 6 years ago

davazp commented 6 years ago

Uses the index of the routes in the array of children to disambiguate the order of routes to ensure the sorting is stable.

This solves #15

davazp commented 6 years ago

Any feedback about this?

troch commented 6 years ago

Hi, sorry I thought I had dealt with it

davazp commented 6 years ago

No problem, thanks 👍