I'm using adsp-bf609 ez-board. In my code i've to sort an array of 1024 elements. This is a monodimensional array of float POINT_Z.
I've also the array POINT_Y. The index are correlated and indicate a couple of points. Same index, same point.
How can I order this array by Z in an efficient way? I'm using a selection sort algorithm but i need 7 to 9 ms for this.
I need a best solution to sort these vectors in less than 3 ms.
This is the code i'm using: