Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

feat(orderBy): Support natural sort #12572

Closed
@gabrielmaldi

Description

@gabrielmaldi

This is a feature request. I searched issues and pull request and didn't find anything, sorry if this is a dupe.

I think that many of us would like to be able to ask orderBy to sort strings in a "natural" way (i.e. foo 92 "is smaller than" foo 147, as opposed to the current lexicographical order which sorts 1 before 9).

I'd be willing to submit a pull request but first I'd like to know if this is a feature the Angular team would like to add, discuss the possible syntax, and get some guidelines (I took a look at orderByFilter and noticed it's really optimized for performance).

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions