Skip to content

[Feature] Get Array with sort order #1558

Open
@laukstein

Description

@laukstein

Let's way we have a list with 5 items that would be Array init order

[1, 2, 3, 4, 5]

When item 3 moved at begging, then the Array order should become

[3, 1, 2, 4, 5]

This feature can be featured even more where user can define what are the values of init Array, like instead of what mentioned above would be

["Cindy", "Andrew", "Bella", "David", "Ezra"]

or

[{
    name: "Cindy",
    id: 3
}, {
    name: "Andrew",
    id: 1
}, {
    name: "Bella",
    id: 2
}, {
    name: "David",
    id: 3
}, {
    name: "Ezra",
    id: 4
}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Plugin IdeaA good idea for a plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions