Make qsort ordering function param optional