Skip to content

Add natural/version sort option to list->sort #504

@CoffeeTableEspresso

Description

@CoffeeTableEspresso

Either a separate function (e.g. list->nsort) or a flag to the function (list->sort('n')).

e.g. usage:

const ls = [ '1', '10', '2' ]
echo ls->sort('n'):r

output:

[ '1', '2', '10' ]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions