Getting array value along with other corresponding values.

Good evening, 

I am trying to get a minimum value that has been manipulated already by the Resize Function. Is there a way to get a minimum value and other corresponding values? (they are also all in column properties). 

 

Example:

Column 1/Array A = (1,3,5)

Column 2/Array B = (2,4,6)

Column3/Array C = (7,8,9)

 

Desired output:

Column 1 = 1

Column 2 = 2

Column 3 = 7

 

Thanks a ton. 

Answers 2
LB
LB 2024-05-14

Hi-  The 'Sort Array Property' component might help. This component sorts an array value and reorders any other properties' array values that are given in the Dependent Properties parameter. Set column2 & Column3 as Dependent properties and then take the first value of each.
 

MP
MP 2024-05-15

@GB If you don't need to keep the original data, then you can follow the 'Sort Array Property' component (Descending) with an 'Array Property Resize' component with a size of 1. That will just keep the first (highest) value.