Qsort library with struct