Skip to content

I wish to sort my groups after my own needs, not alphabetically #1213

Open
@coffeeneed

Description

@coffeeneed

Please take a minute to read our NativeScript Code of Conduct before proceeding with posting issues or discussing. The purpose of this guide is to make communication and cooperation within our forums a pleasure for you and the other members.

Please, provide the details below:

Tell us about the problem

I'm not able to sort my groupings after my needs. I've set up grouping system based on one of the values from the for loop. However, those sorting text headers are however sorted alphabetically. That make sense, has anyone managed to sort these group names after their own need? What if I don't want to sort after the names which are made for the groups?

Which platform(s) does your issue occur on?

Both

Please provide the following version numbers that your issue occurs with:

  • Progress NativeScript UI plugin version: ^7.0.1
  • CLI: 6.0.2
  • Cross-platform modules: ~6.0.0
  • Runtime(s): 6.0.1, 6.0.0

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

Grouping function grouped by employee position
myGroupFunction(player) { return employee.position; },

However, I don't want the groupings to be sorted alphabetically. Any ideas would be greatly appreciated.

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