Sorting an array of integers

I am trying to sort an array of integers like {10,7,45,3} (variable type is int32). I have tried to use invoke method activity to use sort function and orderby function. But it is showing error.

1 Like

Try this @Soumalya_Mondal
int [] arr = new int [] {1, 9, 6, 7, 5, 9};
// Sort array in ascending order.

1 Like

sortArray.xaml (6.9 KB)



Thanks! It is working.

Thanks for your prompt reply and help

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.