Changed timsort_arg to timsort_r to match BSD
Fixed prototype.