Skip to content

Data browser: use natural sorting for filter keys #3199

@kyeastmood

Description

@kyeastmood

Currently, when a filter is created for a layer's field (e.g. "name" field) the keys that are generated for the filter and displayed in the data browser are sorted alphabetically and not naturally. This makes e.g. number 70 to appear after number 100.

I think it would be more intuitive to sort the keys naturally and it would also be consistent with the behavior of layer's elements which are sorted naturally. I've attached a screenshot to illustrate the issue.

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions