extended qsort working under Windows mingw