florin.petolea@gmail.com:
Thank you all for your feedback and time.
Still puzzled with the result.
When it comes to sorting, I found out, that the IDE's built-in "qsort()" function is lightning fast.
qsort() is part of the AVR LIBC library on the Atmega hardware platforms.
While not so easy to use (using callback function, pointers), qsort() is an hand-optimized "Quicksort algorithm in Assembler code.
When programming Atmegas, you hardly will find any faster sorting function.
Need an example, how to use the "qsort()" function on an array of int values?
When sorting more than 10 values, §qsort()" should always be the fastest function on Atmega controllers.