Seriously though, can you give me some insight on why the different branches? Can we simply backport `qsort_r` from BSD and use it everywhere?