headfirts: function pointers
headfirst: creating and passing sorting functions for qsort