Use a custom radix sort implementation instead of qsort in dnxhd encoder.