Dear Community,
I try to sort 3 servers to identify the server with the maximum utilization and further to get access to this server’s attribute variability.
Using the simulation Input Editor (Options – CustomOutputList), I defined 2 rows, one for the servers and one for indices.
· { ServerList { [Server1], [Server2], [Server3] } }
· { SortedIndices { 'sort(|i, j| [Simulation].ServerList(i).Utilisation > [Simulation].ServerList(j).Utilisation, range(size([Simulation].ServerList)))' } }
See attached screen shot-1

The ideas was to get the following access:
· Top Server Variability [Simulation].ServerList([Simulation].SortedIndices(1)).Variability
· Top Server Utilisation [Simulation].ServerList([Simulation].SortedIndices(1)).Utilisation
Unfortunately, I got the following SYNTAX ERROR:
Expected an input with 2 or 3 value(s), received: SortedIndices '{ ' sort(|i, j| [Simulation].ServerList(i).Utilization > [Simulation].ServerList(j).Utilisation, range(size([Simulation].ServerList))) ' }'
See the attached screen shot-2
Many thanks for any ideas or advice to fix it.
SE