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
- 81 General
- 13 Training
- 209 Installation / Setup
- 1.2K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 497 General Q & A
- 711 Forms
- 346 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 187 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 230 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 26 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions