CST - How to sort the ResultTree data in CST Studio?

Hi,

Hi, I am reading the S parameters using the ResultTree ID as follows (after performing a parameter sweep):

ParID=Resulttree.GetResultIDsFromTreeItem("1D Results\\S-Parameters\\S1,1")
Resulttree.GetResultFromTreeItem("1D Results\\S-Parameters\\S1,1",ParID(i))

I'm encountering an issue when calculating large datasets from the result navigator.

 I need the data to be sorted. Is there a function available to sort the data with respect to a specific variable?

 

 y concern is that reading all objects, storing them in an array, sorting them, and then calculating them requires more code space and memory. I'm looking for a more efficient method to handle this task.

 

Do you have any suggestions for sorting and processing large datasets within the constraints of the system?

CST Studio Suite