The code nicely sort the data and then in this case returns the average values of the two middle values but that doesn't really matter here. WHAT I need help with is to identify what original place the biggest number had in the beginning. Let me give you an example,If i send this array, long OriginalArray[arraySize];OriginalArray[0] = 111;OriginalArray[1] = 51;OriginalArray[2] = 400;OriginalArray[3] = 3;

I want the function to first sort the numbers like this(which it already does):400111513

And then tell me that the biggest number had slot number 2 in the original array.Is there a way to easily implement this into my bubblesort function.Thank you very much!/Archie