Sort List by a Parameter
Comments
-
I have a structure containing a string and decimal field. I want to arrange this list in ascending order of the decimal parameters. How can I do this?
-
[font=verdana, sans-serif]You can use the Sort Array step to achieve your use-case. This step allows you to pass a list of objects into it and select what field you want to sort the data on. [/font]
[font=verdana, sans-serif]
[/font]
[font=verdana, sans-serif]I have attached an example project which demonstrates this. The Flow is set up to generate a list of 10 objects and then sorts the list based on the decimal value.[/font]
[font=verdana, sans-serif]
[/font]
Howdy, Stranger!
Categories
- 4.4K All Categories
- 86 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 111 Rules
- 276 Administration
- 214 Portal
- 498 General Q & A
- 718 Forms
- 351 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 188 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 70 Repository
- 231 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 27 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions