in reply to Re^6: perl inline::c sorting problemin thread perl inline::c sorting problem
You might also want to take a look at salva's Sort::Key package. In key.xs he has comparator subs defined for every occasion.