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
- 2.1K All Categories
- 18 General
- 155 Installation / Setup
- 991 Flows
- 86 Rules
- 203 Administration
- 204 Portal
- 433 General Q & A
- 600 Forms
- 282 Reports
- 3 Designer Extensions
- 38 Example Flows
- 32 CSS Examples
- 1 Diagram Tile
- 5 Javascript Controls
- 139 Pages
- 1 Process Mining
- New Features
- 150 Datastructures
- 50 Repository
- 169 Integrations
- 25 Multi-Tenant
- 21 SDK
- 40 Modules
- 38 Settings
- 20 Active Directory
- 12 Version 7
- 34 Version 8