add a version of array_pod_sort that takes a custom comparator function.