void Function Confusion

I have a code that successfully reads a csv file and sorts out each data row. The issue I am having is after sorting is done. The SortingPoints function is returning only the values of the array Numbers[];however I need the values from array Points[] as well. The reason I need both values is because both values will be used for the next two functions. Can anyone please send me to the right direction. Any help would be highly appreciate it.

Thanks


You should learn to use the autoformat function of the Arduino IDE before you post.

A void function returns nothing so I am confused by your question.

The indenting of your code is atrocious. Type ctrl-t in the Arduino IDE to auto-format it.

It looks like the Points[] array is local to your setup() function. It ceases to exist once that function terminates.

How about that indenting? Is it much better?

Nothing appears in the post. Try again.