Sorting integers (part 2)
Now you can call qsort to do the work
qsort(x, n, sizeof(int), cmp);
Note that your comparison function must be written to take arguments of type const void *, which means that you must convert the arguments yourself inside the function