znorder via PP; sort divisors with qsort